Spadework 2020. 2. 24. 18:09

* Solved 기준 브론즈2 단순 풀이

n,m = map(int, input().split())
l = [input()[::-1] for _ in range(n)]
print(*l, sep='\n')