Task: Program Execution
Input (English): 1, 4, ['1169', 'w', 'H', '4829']
Output (English): 5998