Task: Program Execution
Input (English): 3, ['n', 's', 'M', 'S', 'M', 'q', '1627', 'a']
Output (English): n, s, M, S, M