while True:
try:
score = int(input())
if score >= 60:
print("Pass")
else:
print("Fail")
except:
break
while True:
try:
score = int(input())
if score >= 60:
print("Pass")
else:
print("Fail")
except:
break