Task: Program Execution
Input (English): 2, 4, ['1703', '3591', 'Z', 'X', 'M', 'G', 'J', '2315', '3417', 'M', '7535', '4907', 'c', '2025', '8893', '6761', 'M', 'Y', 'S', '5403', '3613', 'D', 'X', 'F', 'R']
Output (English): X, Z, 3591