Given two strings and consisting of only lowercase English alphabets, find the length of Longest Common Substring of the two strings.
Input:
The first line contains a string of length .
The second line contains a string of length .
Output:
Output a single line denoting the length of Longest Common Substring of the two strings.
Constraints:
It is guaranteed that the strings and only contains lowercase English alphabets.
The longest common substring is "ab". Other common substrings are "a", "c" and "b".