Task: Program Execution
Input (English): k, o, A, M, P, q, 3103, L, x, 4787, 5549, 8839, 3721, T
Output (English): 3103, 4787, 5549, 8839, 3721