#include #include inline int input() { static int p; scanf("%d", &p); return p; } inline double inputf() { static double p; scanf("%lf", &p); return p; } int main() { for (int T = input(); T; --T) { const double p = inputf(); if (p > 1.0) puts("No"); else puts("Yes"); } return 0; }