Task: Program Execution
Input (English): 5351, K, 4033, D, k, 2587, S, 1243, c, 9853, Q, y, O, 6483, 4833, 5789, 1291, E, 7115
Output (English): 9