Task: Program Execution
Input (English): 9315, H, 9869, 1823, 8291, 1311, 4641, E, 3949, 2457, 4729, 2903, p, D, 305, 3825, Y, 8097, B, 4081, q, 3389, 9163
Output (English): 7