Task: Program Execution
Input (English): 3, 12, ['t', '6001', '4309', 'f', 'u', '5767', '4097', 't', 'N', '2285', '6311', 'X', '133', 'f', 'R', '5323', 'r', '7043', 'r', '2755', 'g', '1083', 'I', '9873', 'H']
Output (English): 4309, R