Task: Program Execution
Input (English): B, W, Q, t, 3659, E, Z, B, 6079, 5755, 593, n, i, y, h, 2091
Output (English): 18177