public static void Main()
var start=char.Parse(Console.ReadLine());
var end=char.Parse(Console.ReadLine());
var nof=char.Parse(Console.ReadLine());
for(char ch1=start;ch1<=end;ch1++)
for(char ch2=start;ch2<=end;ch2++)
for(char ch3=start;ch3<=end;ch3++)
if(ch1!=nof&&ch2!=nof&&ch3!=nof)
{Console.Write("{0}{1}{2} ",ch1,ch2,ch3);