Task: Program Execution
Input (English): 2847, B, 9461, 5545, U, E, N, W, B, 8835, 5309, b, 8921, n, D, 6193, F, k, G, 4655, 2287, 9963, S
Output (English): 10