Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Code Written by : John Nixon
- // Date: 09:11:2022 Time: 21:39:32
- // Copyrights are applicable
- #include <bits/stdc++.h>
- using namespace std;
- #define ll long long
- #define vi vector<int>
- #define vll vector<long long int>
- int main()
- {
- #ifndef ONLINE_JUDGE
- freopen("input.txt", "r", stdin);
- freopen("output.txt", "w", stdout);
- #endif
- std::ios::sync_with_stdio(false);
- int t;
- cin>>t;
- while(t--){
- int n;
- cin>>n;
- if(n>=2000){
- cout<<"YES"<<endl;
- }
- else{
- cout<<"NO"<<endl;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement