Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {int n;
  7. cin>>n;
  8.  
  9. if (n=4||n=7||n=44||n=47||n=444||n=447||n=74||n=477||n=74||n=77||n=777||n=774||n=747||n=74||n=474)
  10. cout << "YES" << endl;
  11.  
  12. else
  13. cout<<"NO";
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement