Task: Program Execution
Input (English): 3, 4, ['v', 'S', '7229', '6907']
Output (English): 6907, 7229