using System;
public class Program
{
public static void Main()
for(int i = 1; i<=40 ; i++)
int license = int.Parse(Console.ReadLine());
int time = int.Parse(Console.ReadLine());
if (time>5)
Console.WriteLine("you can't participate in the next round");
if (time <= 4)
Console.WriteLine(license);
}