| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 512 MB | 273 | 198 | 181 | 73.279% |
Emilian is a very smart boy who loves palindromes. Radu knows this fact so he gifted his friend a set of n integers, some being palindromes and other not. Emilian was very happy so he asked himself more questions and he will apriciate if you help him answering one of them. What is the sum of all palindrome integers from the set received from Radu?
Given a set of n integers calculate the sum of the palindrome integers.
The first line contains the integer n and the second line contains n integers.
The first line contains only one integer representing the sum of all palindrome integers.
5 1 13 22 121 45
144