K = ord(eval(input()))

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

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

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