You are viewing a single comment's thread. Return to all comments →
n,lst=int(input()),list(map(int,input().split())) print(any(map(lambda x: str(x) == str(x)[::-1],lst)) and all(map(lambda x: x>0,lst)))
Seems like cookies are disabled on this browser, please enable them to open this website
Any or All
You are viewing a single comment's thread. Return to all comments →