#include <iostream>
using namespace std;
int main() {
int N;
cin >> N;
if (N % 10 == 3)
cout << "YES";
else
cout << "NO";
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <iostream>
using namespace std;
int main() {
int N;
cin >> N;
if (N % 10 == 3)
cout << "YES";
else
cout << "NO";
return 0;
}