using System;
public class Program
{
public static void Main()
int i = 0;
for( ; i < 12; i++ ) {
if( ( i++ + 1 ) == 5 )
Console.WriteLine(i);
else
if( i % 2 == 0 ) break;
else if( i % 3 == 0)
continue;
}