using System;
public class Program
{
public static void Main()
Console.Write("Введіть a: ");
int a = int.Parse(Console.ReadLine());
Console.Write("Введіть b: ");
int b = int.Parse(Console.ReadLine());
for (int i = b; i >= a; i--)
if (i * 2 < 40)
Console.Write("{0} ", i);
}