using System;
public class Program
{
public static void Main()
int s,o;
s= int.Parse(Console.ReadLine());
o= int.Parse(Console.ReadLine());
if (s<55)
Console.WriteLine("slow as turtle");
if (s>100 && o>100)
Console.WriteLine("fast as rabbit");
else
Console.WriteLine("perfect speed");
}