while (1) { print("> ") input = gets() answer = solve(input) print("\n") print(answer) print("\n") }