Task: Program Execution
Input (English): 2, 3, ['y', 'd', '4739', 'L', '9955', 'T']
Output (English): 4739