Task: Program Execution
Input (English): 2, 4, ['3903', 'X', '1861', '2201']
Output (English): 4062