s = "aba"
s1 ="aba"
l=[]
l.extend(s1)
l.reverse()
s3=reduce(lambda x,y:x+y,l)
if s==s3:
    print "palindome"
else:
    print "not palindrome"

58e0228763bcdcd1b34abd66abb7a73874d7ceb2
s = "aba"
s1 ="aba"
l=[]
l.extend(s1)
l.reverse()
s3=reduce(lambda x,y:x+y,l)
if s==s3:
    print "palindome"
else:
    print "not palindrome"
