using System;
public class Test
{
public static void Main()
{
for (int i = 2; i < 200; i++)
{
bool isp = true;
for (int j = 2; j <= Math.Sqrt((double)i); j++)
{
if (i % j == 0)
{
isp = false;
break;
}
}
if (isp) Console.WriteLine(i);
}
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewogZm9yIChpbnQgaSA9IDI7IGkgPCAyMDA7IGkrKykKewogICAgYm9vbCBpc3AgPSB0cnVlOwogICAgZm9yIChpbnQgaiA9IDI7IGogPD0gTWF0aC5TcXJ0KChkb3VibGUpaSk7IGorKykKICAgICAgICB7CiAgICAgICAgICAgIGlmIChpICUgaiA9PSAwKQogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgaXNwID0gZmFsc2U7CiAgICAgICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGlmIChpc3ApIENvbnNvbGUuV3JpdGVMaW5lKGkpOwp9Cgl9Cn0=