public static void main(String[]args)
	{
		int n = 0;
		int limit = 20;
		boolean test = true;
		while(test)
		{
			n++;
			for(int i = 1; i <= limit; i++)
			{
				if(n % i != 0) 
				{
					//System.out.println(n + "%" + i + "=" + n % i);
					break;
				}
				if(i == limit) test = !test;
			}
		}
		System.out.println(n);
	}