output: java.lang.NumberFormatException: For input string: "exit"