Task: Program Execution
Input (English): 1, 3, ['y', 't', 'd', 'c', '2473']
Output (English): ytd