Task: Program Execution
Input (English): J, Q, 2523, C, 125, h, p, M, 2059, 1641, 1533, j, R, 4713, 9535, 4619, 4287, q, G
Output (English): 2523, 125, 2059, 1641, 1533, 4713, 9535, 4619, 4287