You are viewing a single comment's thread. Return to all comments →
n,N= int(input()), list(map(int, input().split())) a, b= all([i >0 for i in N]), any([str(i) == str(i)[::-1] for i in N]) print(a and b)
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 →