while 1:print filter(str.islower,raw_input())or 99