Task: Program Execution
Input (English): P 1089 Z g 4103 o D G 9415 m J h 9393 o i 9551 U 4121 43 m 5797 2175 L E K n x C 3697 l 8699 E 9779 o z t
Output (English): 24