z=raw_input() if z!="50" and z!="*":print 2550 else:print 50