Task: Program Execution
Input (English): J, 177, 8449, 2067, a, G, p, d, 5161, M, 2403, 5541, q, 4375, O
Output (English): 28173