n,m = map(int,input().split()) s1 = input() s2 = input() dp = [[0]*m for i in range(n)] for i in range(n): for j in range(m): if i&nb...