var s:string;i,n:word;begin repeat readln(s);n:=0;for i:=1to length(s)do n:=n+ord(s[i]);writeln(chr(n div i))until 1=0end.