• + 0 comments

    n1, n2=input(),input().split() print(all([int(i) > 0 for i in n2]) and any([j == j[::-1] for j in n2]))