1 2 3 4 5 6 7
tt = int(input()) n = int(input()) s = input() sp, chars = map(str, input()) sp = int(sp) idx = s[::-1].index(chars) print(idx)