Task: Program Execution
Input (English): 2, 3, ['S', 'O', 'U', '3453', '4249']
Output (English): UO