Task: Program Execution
Input (English): 2, 3, ['1049', 'm', 's', 'J', '6495', '3305', 'Q', 'F', 'N', 'S', '4775']
Output (English): m, 6495, F, 4775