Task: Program Execution
Input (English): 1, 1, ['X', 'V', '5157', '4183', '1919', 'T']
Output (English): X