Task: Program Execution
Input (English): Z W 5707 p N 2299 H s O a R 3215 9391 5507 j L S l F A J m v N 1179
Output (English): 19