#include #define clr(x) memset(x,0,sizeof(x)) #define clrmax(x) memset(x,0x3f3f3f3f,sizeof(x)) #define clrmin(x) memset(x,-0x3f3f3f3f,sizeof(x)) #define pb push_back #define LL long long #define mod 1000000007 #define mp make_pair using namespace std; typedef pair pii; const int N = 1e2+10; const int M = 3e5+10; int T,n; double x; int main(){ scanf("%d",&T); while(T --){ scanf("%lf",&x); if(x > 1) printf("No\n"); else printf("Yes\n"); } return 0; }