Task: Program Execution
Input (English): 1427, 5867, 7035, 6159, a, 1957, 1231, H, n, 9687, x, 9709, 1939
Output (English): 1427, 5867, 7035, 6159, 1, 1957, 1231, 8, 14, 9687, 24, 9709, 1939