Task: Program Execution
Input (English): J 745 u 7993 V 3721 J 5167 w 579 j 2133 5247 j G 2075 2609 655 A I 925 6265 6559 1843 L j O 1353 8149 i 9071 3813
Output (English): 14