Task: Program Execution
Input (English): 3, 7, ['p', '2229', '6845', 'i', 'X', '2145', 'W', '3443', '4897', 'q']
Output (English): 8990