for(a in readLines("stdin"))write(intToUtf8(sum(utf8ToInt(a))/nchar(a)),1)