Task: Program Execution
Input (English): 1, 1, ['7295', '5413', '2443', 'W', 'U']
Output (English): 5927