Task: Program Execution
Input (English): B, 2143, 141, 3497, 4945, 971, 4999, 121, 5831, 881, 799, o, W, y, O, 2617, F, 3021, 6815, 4813, 6305, 5013, X, 1285
Output (English): 7