Task: Program Execution
Input (English): W, 3603, s, 8851, w, 3633, 9323, I, V, 5295, T, W, w, q, 5841, 9369, 6777, 441, 537, m, 9875, 7651, 809
Output (English): 13