public static void Main()
char begin=char.Parse(Console.ReadLine());
char end=char.Parse(Console.ReadLine());
char stop=char.Parse(Console.ReadLine());
for (char i = begin; i<=end; i++)
for (char j=begin; j<= end; j++)
for( char k= begin; k<= end; k++)
if( i !=stop && j!=stop && k!= stop)
Console.Write("{0}{1}{2} ",(char)i,(char)j,(char)k);
if(i==end) Console.Write(count);