• + 0 comments

    n=int(input()) A=input().split() B=[] if all(int(x)>0 for x in A) and any([list(a)[::-1]==list(a) for a in A]): print(True) else: print(False)