func_code_string: #include <bits/stdc++.h>   using namespace std;   int main(int argc, char const *argv[]) {     int n;     bool check, lucky;     string s;     cin >> n;     for (int i = 4; i < n + 1; i++) {       check = false;       s = to_string(i);       for (int j = 0; j < s.size(); j++)         if ((s[j] ==  4 ) || (s[j] ==  7 ))           check = true;         else {           check = false;           break;         }       if (check)         if (n % i == 0) {           lucky = true;           break;         } else {           lucky = false;         }     }     if (lucky)       cout <<  YES  << endl;     else       cout <<  NO  << endl;     return 0;   }   