Find the length of the longest subsequence common to two strings. A subsequence keeps order but may skip characters (it need not be contiguous).
Input
Two lines: the string s, then the string t.
Output
The length of their longest common subsequence.