You are given two strings and of equal lengths. You need to pick some characters from the first string, some from the second string and then form a new string by rearranging the characters you have picked. You need to find the length of the maximum string that you can make which will be a palindrome.
Input
The first line contains a string as input and the next line contains a string as input.
Output
In the output, you need to print an integer which denotes the maximum length of the palindrome that can be obtained.
Constraints
In the sample test case, you can form the string baaab by picking the characters from both the strings.