while 1:r=raw_input();print chr(sum(map(ord,r))/len(r))