Task: Program Execution
Input (English): 2, ['P', '1183', 'X', '9681', '3551', 'k', 'M']
Output (English): P, X, 3551, M