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.WriteLine(i);
}