Task: Program Execution
Input (English): 15, 18, ['q', '4735', 'B', 'H', 'r', 'D', 'V', '8193', '1643', '2243', 'H', '3501', '7831', '8967', '4693', '2083', '5881', '1717', '9713']
Output (English): 4693, 2083, 5881, 1717