#!python2 """ while True: inp = raw_input('Age?') if inp == 'stop': break elif not inp.isdigit(): print 'Bad!' * 8 else: print int(inp) ** 2 print 'Bye' """ while True: inp = raw_input('Age?') if inp == 'stop': break try: print eval(inp) ** 2 except: print 'Bad!' * 8 print 'Bye'