Task: Program Execution
Input (English): r o S 899 X 1321 F I n I 1873 j y 8627 649 7005 8931 o n T n p 5267 6205 3741 4183 7007 h 4199 K F R F B 8941 s k r
Output (English): 24