Task: Program Execution
Input (English): 2, 6, ['8751', '1339', '1621', 'j', 'g', 'k']
Output (English): 2960