View Code of Problem 20

#include "stdio.h"
#include "string.h"
#include "ctype.h"
#include "math.h"
int main()
{
	int n,i;
	while(scanf("%d",&n)!=EOF)
	{
	
		if(n%3!=0)
		  printf("YES\n");
		else
		  printf("NO\n");
	}
    return 0;
}

Double click to view unformatted code.


Back to problem 20