Task: Program Execution
Input (English): 3, 5, ['7975', '2475', 'K', '7679', 'r', 'j']
Output (English): r9767K