func_code_string: #include <bits/stdc++.h>   using namespace std;   long long int T = 1, inf = 10000000000;   bool check(long long int n) {     long long int flag = 1;     while (n > 0) {       if (n % 10 != 4 && n % 10 != 7) {         flag = 0;         break;       }       n /= 10;     }     return flag;   }   int main() {     ios::sync_with_stdio(0);     cin.tie(0);     while (T--) {       long long int n, sz = 3, ans = 0, blag = 0, u, mn, ev = 0, mx, mini, i, v,                        q, p, j, k, w, h, l, m, x, y, od = 0, total = 0, cc = 0,                        pp = 0, flag = 0, klag = 0, sum = 0;       string s, s3, s1 =  YES , s2 =  NO ;       bool ok = 0;       cin >> n;       for (i = 4; i <= n; i += 1) {         if (n % i == 0) {           if (check(i)) {             cout << s1;             return 0;           }         }       }       cout << s2;       return 0;     }     return 0;   }   