#include #define LL long long using namespace std;bool h1; int T; double n; bool h2;int main(){ cin>>T; while(T--){ scanf("%lf",&n); puts(n<=1.00000?"Yes":"No"); } return 0; }