Task: Program Execution
Input (English): 1, ['n', '5729', '2851', 'Y', 'a']
Output (English): n