Task: Program Execution
Input (English): 1, 1, ['K', 'U', '6719', '5877']
Output (English): 0