while True: try: x = int(input("What's x: ")) y = int(input("What's y: ")) break except: print("Error") print(x + y)