Task: Program Execution
Input (English): 4, 12, ['281', '1195', 'D', 'R', 'X', '4541', '6255', '4783', 'D', 'K', '9991', 'P', '7851', 'q', '4525', 'D', '4693', 'o', 'A', '1149', '4783']
Output (English): P, 9991, K, D, 4783, 6255, 4541, X, R