import sys def reverse_s(s): return s[::-1] def reverse_m(m,n): result = [] for i in range(n,0,-1): print((m[i-1])) return result i = 0 s = [] for line in sys.stdin: a = line.split() if i==0: n,m = map(int,a) else: s.append(reverse_s(a[0]))...