Task: Program Execution
Input (English): 3, 9, ['S', '3075', '7407', '623', '3713', 'M', '995', '8403', '4557', 'X', '63']
Output (English): 7407, 623, 3713, M, 995, 8403, 4557