Task: Program Execution
Input (English): O, Q, 5619, 9667, O, n, G, 65, 583, g, 4609, k, 7091, N, 5039, 1191
Output (English): 33864