Task: Program Execution
Input (English): 8801, W, 3909, b, 5911, 867, j, 1803, X, 1889, 6909, 6595, w, 1083, D, 8025, 3455, S, 2767
Output (English): 52014