Task: Program Execution
Input (English): 3, 5, ['4753', '3061', 'p', '6661', 'D']
Output (English): D6661p