Task: Program Execution
Input (English): 1, 3, ['s', 'M', 'U', '6191']
Output (English): UMs