Task: Program Execution
Input (English): 7129, Q, I, i, U, 3745, 4111, 7633, 7057, 1331, n, 8151, Q, 4105, 6481, x
Output (English): 49743