Task: Program Execution
Input (English): 3, 12, ['o', 'o', '3151', 'S', 'N', 'M', 'Q', 'r', 'o', '9221', 'c', 'A', '4893', '4847', '4967']
Output (English): 3151, S, N, M, Q, r, o, 9221, c, A