num = list(map(int ,input().split())) count = 0 for n in num: s = str(n) if s == s[::-1]: count += 1 print(count)
To embed this project on your website, copy the following code and paste it into your website's HTML: