Task: Program Execution
Input (English): 1, ['1271', 'M', 'w']
Output (English): M, w