using System;
public class Program
{
public static void Main()
int num = 2520,counter=0;
bool state = false;
while (!state)
for (int i = 1; i < 21; i++)
if (num % i == 0)
counter++;
}
if (counter == 20)
Console.WriteLine(num);
state = true;
num += 10;
counter=0;