Task: Program Execution
Input (English): 4, 10, ['487', 'K', '1783', 'H', '1421', '5491', '4971', 'e', '3493', 'Q', '8255', 'r', 'r']
Output (English): 15376