print("P" if int(input()) == 1 else "K")