Task: Program Execution
Input (English): 3, 4, ['8753', '1973', '939', '7447', '2849', '3507', 'S', '1601', '7595', '643', 'y', '4613', 'c', '4749', '9047']
Output (English): 939, 7447