while True:#重複 try: w = input()#輸入 if w == "stop":#停止 break w = int(w)#數字化 print("print(", w, ")", sep = "")#輸出, ex: print(1) except ValueError:#非數字 print('print("', w, '")', sep = "")#輸出, ex: print("hi")