Task: Program Execution
Input (English): 9767 S o 3841 P e X v 1619 881 o 6511 3073 X q j 5865 J q V a 4435 n 7089 D r 4435 5005 1237 3939 7667 Q O
Output (English): 19