#include<bits/stdc++.h> using namespace std; int main() { int n; while (cin >> n) { if (n % 3 == 0) { cout << "No" << endl; } else { cout << "Yes" << endl; } } }
Double click to view unformatted code.