#Python3题解#
lis = []
while 1:
try:
lis.append(input())
except:
break
print("\n".join("Pass" if int(x) >= 60 else "Fail" for x in lis))
#Python3题解#
lis = []
while 1:
try:
lis.append(input())
except:
break
print("\n".join("Pass" if int(x) >= 60 else "Fail" for x in lis))