Task: Program Execution
Input (English): 3, ['5089', 'X', '4719', 'U', 'q', '7199', '645', '6243', '443', '7745', 'q', '7411', '6203', 'v', '19', '6917', '1773', '4575', '7995', '1701', 'V']
Output (English): 5089, X, 4719