Task: Program Execution
Input (English): 3, 6, ['6317', 'e', 'F', '2479', '2555', 'r', 'G']
Output (English): r, 2555, 2479, F