Given a string S and a pattern P, please check if the pattern P is contained in the string S.
First line of input is the string S and its length Ls separated by a space.
Second line of input is the pattern P and its length Lp separated by a space.
It is guaranteed that 1 <= Lp <= 500, Lp <= Ls <= 100000.
If the pattern P is contained in the string S, print out "YES" (without quotes); otherwise print "NO" (without quotes).
'\n' at the end of output.