Task: Program Execution
Input (English): 1, 4, ['Y', '2763', '2177', '1497', 'r', '8115', '7745', 'P', 'O']
Output (English): Y, r, O