A string of lowercase letters is called alphabetical if deleting zero or more of its letters can result in the alphabet string "abcdefghijklmnopqrstuvwxyz".
Given a string , determine the minimum number of letters to insert anywhere in the string to make it alphabetical.
Contains a string (1 \leq |s| \leq 50). It is guaranteed that consists of lowercase ASCII letters to only.
Print the minimum number of letters that must be inserted in order to make the string alphabetical.
Example 1
Example 2