#include<stdio.h> #include <string.h> #include <math.h> void main() { int i,j,n; while(scanf("%d",&n)!=EOF) { if(n%3==0) printf("No\n"); else printf("Yes\n"); } }
Double click to view unformatted code.