print(sorted(c for c in input())[16])