fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int x;
  7. cin >> x;
  8. if (x>=3 && x<=18) cout << "Yes";
  9. else cout << "No";
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5324KB
stdin
15
stdout
Yes