Task: Program Execution
Input (English): 4, 5, ['193', '5007', '419', '1387', '8125', 'A', '7985', 'G', 'X', '6547', 'H', 'X', 'w', 'e', 'P']
Output (English): 8125, 1387