Task: Program Execution
Input (English): 3, 3, ['E', '2063', '8121', 'V']
Output (English): 1218