Task: Program Execution
Input (English): 1, 5, ['y', '8813', '389', '621', 'P', '7781', 'x']
Output (English): 9823