Dice Tower
luguangxing · · 题解
看这张图由小学知识可以得出
代码展示:
#include<bits/stdc++.h>
using namespace std;
long long x,t;
int main()
{
cin>>t;
while(t--)
{
cin>>x;
if(x<=14)
cout<<"NO"<<endl;
else
{
if(x%14>=1&&x%14<=6)
cout<<"YES"<<endl;
else
cout<<"NO"<<endl;
}
}
return 0;
}