Task: Program Execution
Input (English): R N 7611 1233 X b 3397 4303 W 5933 B 2421 j 5297 i 1603 5559 9423 4273 5299 9297 8173 n G D 8925 x k 6319 515 4299 2927 c 783 1947 H 1981 p
Output (English): 22