Task: Program Execution
Input (English): 2, 4, ['Y', '4311', '2863', 'o', '4693']
Output (English): 7174