list = input().split()
num1 = int(list[0])
num2 = int(list[1])
num3 = int(list[2])
if (num1 > num2) & (num1 > num3):
print("Python")
elif (num2 > num1) & (num2 > num3):
print("Java")
else:
print("C")