Untitled
unknown
plain_text
2 years ago
230 B
9
Indexable
//дз 4.
#include <iostream>
using namespace std;
int main()
{
int a;
cin >> a;
if (a % 10 == a / 10000 && ((a % 100) / 10) == (a % 10000) / 1000)
{
cout << "Yes";
}
else
{
cout << "No";
}
return 0;
}Editor is loading...
Leave a Comment