Task: Program Execution
Input (English): B 8055 q N 4459 q K 4875 W H f s S T 9751 1831 f u V G 8863 W 293 2703 E 2997 1691 7327 M
Output (English): 11