Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- int main()
- {
- int t,n;
- while(scanf("%d",&n)==1)
- {
- if((30*n)%180==0)
- {
- printf("Y\n");
- }
- else
- {
- printf("N\n");
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement