Task: Program Execution
Input (English): 5223, j, 6801, 5849, q, 9491, n, 4707, f, 3875, q, t, a, p, C, H, n, J, 6315
Output (English): j, q, n, f, q, t, a, p, C, H, n, J