Task: Program Execution
Input (English): 3, 5, ['11', '5935', 'V', 'M', '5447', '7011', 'A', '5839', '2271']
Output (English): 5447MV