You are given two strings $T$ and $P$. Your aim is to create $T$ with $P$. You first begin with an empty string. Then you can do one of three operations shown below.
For example, assume that $T = $aabaabaa and $P = $aaba. There are two ways to create $T$ with $P$ as follows, where ε denotes an empty string.
ε → aaba → aabaa → aabaab → aabaaba → aabaabaa, orε → aaba → aab → aabaaba → aabaabaa.The former costs four as it first puts $P$ (cost $0$) and four characters (a, b, a, and a, cost $4$). The latter costs two as it first puts $P$ (cost $0$), then deletes one character (a, cost $1$) and puts $P$ (cost $0$), and finally puts a character (a, cost $1$). We choose the latter and we can see that it has the minimum cost.
Given $T$ and $P$, write a program which computes the minimum cost to create $T$ with $P$.
Your program is to read from standard input. The input starts with a line containing two integers, $m$ and $n$ ($1 ≤ m ≤ 100\,000$, $1 ≤ n ≤ 200\,000$), where $m$ is the length of $P$ and $n$ is that of $T$. The second line contains $P$ and the third line contains $T$. Both $P$ and $T$ are in English lower-case letters.
Your program is to write to standard output. Print exactly one line. The line should contain the minimum cost to create $T$ with $P$.