Task: Program Execution
Input (English): 5, ['V', 'S', '9865', 'K', '1497', '9365', 'K', '915', '9485', 'X', '7033', 'b', 'N', '6493', '4741', 'O', '9983', '8879', '7973', '8251', '9557', 'R', 'S', 'B', 'W', 'V', '3197']
Output (English): V, 9365, 7033, O, 9557, V