Sunday, August 28, 2016

uri- 1300 - Hours and Minutes

#include<stdio.h>

int main(){
    int a;

  while(scanf("%d",&a)!=EOF){
       if(a%6==0){
        printf("Y\n");
       }
       else{
        printf("N\n");
       }
    }
    return 0;
}

No comments: