#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <string.h> #include<math.h> int main() {//65-90 97-122 int n; while(scanf("%d",&n) !=EOF) if (n % 3 == 0) { printf("NO\n"); } else { printf("YES\n"); } return 0; } |
Double click to view unformatted code.