Z = eval(input())

print((chr(ord(Z) + 1)))
print((chr(ord(eval(input())) + 1)))
Z = eval(input())
print((chr(ord(Z) + 1)))

print((chr(ord(eval(input())) + 1)))

-Z = eval(input()) -print((chr(ord(Z) + 1))) +print((chr(ord(eval(input())) + 1)))