Task: Program Execution
Input (English): 2, 5, ['7201', 'a', 'Q', '7971', 'l', '773', '2747', '1587', '143', '4365']
Output (English): l7971Qa