Task: Program Execution
Input (English): 3131 U 9701 R 8965 1175 u 4647 4973 299 o 7101 4079 x s L T N 5545 v a 2645 7719 617 7787 785 w V 8865 S 985 95 3681 z 3805 3007 H 943 9015 J
Output (English): 23