Task: Program Execution
Input (English): 2, 3, ['g', '9509', 'f', 'w']
Output (English): 9509