Task: Program Execution
Input (English): 2, 9, ['1649', '9147', 'A', 'd', '7443', 'L', '6721', 'G', '1809', 'V', '2107', 'E', '2411', '4313', 'i', 'V', 'G', 'R']
Output (English): 9147, 2107