s = input()
if s in "EB":
    print(chr(ord(s)+1))
else:
    print(s+"#")