Task: Program Execution
Input (English): 3, 4, ['r', '7623', 'W', '2991']
Output (English): W2991