Task: Program Execution
Input (English): 2, 5, ['d', '5035', 'U', 'd', 'K']
Output (English): K, d, U, 5035