#include using namespace std; int main() { int t; cin >> t; while (t--) { double p; cin >> p; if (p-1.0 > 1e-6) { cout << "No" << endl; } else { cout << "Yes" << endl; } } }