T=input() S=input() def gggg(l1,l2): l=0 r=len(l1)-1 while l<r: t1 = l1[l]-l1[r] t2 = l2[l]-l2[r] l+=1 r-=1 if t1!=t2: return 0 return 1 def getMatch(A,B): aa = bytes(A,encoding='utf-8') bb = bytes(B,encoding='utf-8') if len(aa)<len(bb): temp =aa aa=bb bb=temp num=0 for i in range(len(aa)-len(...