// 感觉靠大脑去思考,这个题,需要自己靠枚举来发现规律
#include <iostream>
#include <cmath>
#include <unordered_set>
using ll = long long;
using namespace std;
unordered_set<ll>exist;
void solve()
{
ll x;cin>>x;
if (x == 1||x == 4||x == 9||x == 7||x == 13||x == 12||x >=15||x== 10)
{
cout<<"Yes\n";return ;
}
cout<<"No\n";
}
int main() {
ios::sync_with_stdio(false);cin.tie(nullptr);int t;cin>>t;while (t--)solve();return 0;
}
// 64 位输出请用 printf("%lld")

京公网安备 11010502036488号