View Code of Problem 20

#include<iostream>
using namespace std;
/*int mi(int n){
	int i=2;
	if(n==0){
		return 1;
	}
	else{
		return i*mi(n-1);
	}
	
}*/
int main(){
	int n;


	while(cin>>n){
		if(n%3==0){
			cout<<"No"<<"\n";
			
		}
		else{
			cout<<"Yes"<<"\n";
		}

	}
	

 
	
}

Double click to view unformatted code.


Back to problem 20