Task: Program Execution
Input (English): 2, 3, ['J', '5295', 'P', 'f', 'Z', '7513', '4729', '2919', '7601', 'm', '4339', 'k', 'e', 'D', '2455', 'e', 'Q']
Output (English): 5295P