Task: Program Execution
Input (English): W, q, w, q, 8037, q, 6279, M, B, 9429, 1193, z, z, H, 6375, v, 9715, q
Output (English): 41028