public static void Main()
var start = int.Parse(Console.ReadLine());
var end = int.Parse(Console.ReadLine());
var f = start / 1000 % 10;
var s = start / 100 % 10;
var th = start / 10 % 10;
var f1 = end / 1000 % 10;
for(int i = f; i<=f1; i++)
for(int j=s; j <= s1; j++)
for(int m=th; m <= th1; m++)
for(int y=fi; y<=fi1; y++)
if(i % 2 !=0 && j%2 !=0 && m % 2 != 0 && y % 2 !=0)
Console.Write("{0}{1}{2}{3} ", i,j, m, y);