#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define popcount __builtin_popcount using namespace std; typedef long long int ll; typedef pair P; int main() { int n; ll x, y, z; cin>>n>>x>>y>>z; ll a[100010]; for(int i=0; i>a[i]; a[i]=a[i]/1000+1; } for(int i=0; i=n){ cout<<"Yes"<=n){ cout<<"Yes"<