Task: Program Execution
Input (English): 6, ['3511', 'v', '2495', 'v', 'V', '3617', '9459', '975', '9035', '6921', 'N', 'n', '6461', 'i', '1939', '2727', '7423']
Output (English): 3511, 9459, 6461