Task: Program Execution
Input (English): 2, 4, ['U', 'M', '7559', '8059', '8583', 't', '1117', 'X', '2185', '5077', 't', 'g', 'W', '2177', '1379']
Output (English): M, t, 5077, 2177