using System;
public class Program
{
public static void Main()
int prima , faktor, i, j;
Console.WriteLine("Input Batas Prima = ");
prima = Convert.ToInt32(Console.ReadLine());
faktor = 0;
for (i = 1; i < prima; i++)
for (j = 1; j <= i; j++)
if(i % j == 0)
faktor = faktor + 1;
}
if(faktor == 2)
Console.Write(i + " ");