Elly has two strings of the same length and . Now she wants to transform into an anagram of by changing some of its letters.Definition: We call two strings and anagrams of each-other if we can re-arrange the letters in one of them to get the other.The only operation the girl can make is cyclically increment one or more times some (possibly none or all) of the characters in . Example increments are 'A' to 'B', 'K' to 'L' or 'Z' to 'A'.For example, she can transform "ELLY" to "KRIS" character by character by shifting 'E' to 'K' ( operations), 'L' to 'R' (again operations), the second 'L' to 'I' ( operations, going from 'Z' to 'A' on the -th operation), and finally 'Y' to 'S' ( operations, again cyclically going from 'Z' to 'A' on the -nd operation). The total number of operations would be 6 + 6 + 23 + 20 = 55. However, to make "ELLY" an anagram of "KRIS" it would be better to change it to "IRSK" with only operations.
You are given the strings and . Write a program which calculates the minimal number of operations needed to transform into some other string , such that is an anagram of .
On the first line of the standard input will be given the string and on the next one – . Both strings will contain only uppercase letters of the English alphabet ('A'-'Z').
On the standard output print one integer – the minimum number of increments.
1 \leq |A| = |B| \leq 50 ( is the length of string )
Example 1
Example 2