Task: Program Execution
Input (English): 5, 10, ['p', 'n', '2107', '4283', '6509', 'j', 'K', 'g', '2903', 'A', '383', 's']
Output (English): 6509jKg2903A