Ответ:
#include <iostream>
using namespace std;
int main()
{
int a=0;
cin>>a;
if (3%a==0)
cout<<"YES";
else
cout<<"NO";
}
клавиатурой
Объяснение: