Task: Program Execution
Input (English): 2, 3, ['7165', 'W', '3247', '7925', 'S', 'U', 'I']
Output (English): 3247W