Task: Program Execution
Input (English): 2, ['3587', 'r', 'P', 'L', '873', 'Z', '4027', '45', '8347', '3239', '3155', 'A', '8763', 't', '9691', 'a']
Output (English): 3587, r