Task: Program Execution
Input (English): 2, 3, ['6373', '1343', '3595', 'v', '1485', 'h']
Output (English): 1343, 3595