Task: Program Execution
Input (English): K d 7589 9147 9693 n Z J B k U u E 1789 z P O 4447 i 7605 8729 m 3309 i 1945 M Q i 3499 1063 4455
Output (English): 19