Advertisement
jbn6972

Untitled

Nov 9th, 2022
834
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.59 KB | None | 0 0
  1. // Code Written by : John Nixon
  2. // Date: 09:11:2022  Time: 21:39:32
  3. // Copyrights are applicable
  4. #include <bits/stdc++.h>
  5. using namespace std;
  6. #define ll long long
  7. #define vi vector<int>
  8. #define vll vector<long long int>
  9. int main()
  10. {
  11. #ifndef ONLINE_JUDGE
  12.     freopen("input.txt", "r", stdin);
  13.     freopen("output.txt", "w", stdout);
  14. #endif
  15.     std::ios::sync_with_stdio(false);
  16.  
  17.     int t;
  18.     cin>>t;
  19.     while(t--){
  20.         int n;
  21.         cin>>n;
  22.         if(n>=2000){
  23.             cout<<"YES"<<endl;
  24.         }
  25.         else{
  26.             cout<<"NO"<<endl;
  27.         }
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement