while 1: a=input() if int(a)>50: break print a