Task: Program Execution
Input (English): 6, ['V', 'v', 'X', '3951', '1543', '4357', '6341', 'N', 's', '7165', 'g', '549', '4305', 'g']
Output (English): V, v, X, 3951, 1543, 4357