Task: Program Execution
Input (English): 2, ['n', 'f', 'V', 'a', '4729', '1347']
Output (English): n, f