Task: Program Execution
Input (English): 6, 15, ['2429', 'X', 'n', '329', 's', '9313', '395', 'r', '2635', 'z', '6985', 'l', 'N', '4197', 'l', '8795', '6625']
Output (English): 23525