nn, nkl, nm = map(int, input().split()) temp = max([nn, nkl, nm]) if temp == nn: print("Python") elif temp == nkl: print("Java") else: print("C")