• + 0 comments
    n, number_list = int(input()), list(input().split())
    print(all([int(el) > 0 for el in number_list]) and any(el == el[::-1] for el in number_list))