if "T" in input(): print("T") else: print("")