func_code_string: #include <bits/stdc++.h>   using namespace std;   const int mod = 1e9 + 7;   long long int md[500];   signed main() {     ios ::sync_with_stdio(0), cin.tie(0), cout.tie(0);     long long int n;     cin >> n;     for (long long int i = 0; i < 500; i++) md[i] = -1;     for (long long int i = 0; i <= 8; i++) {       for (long long int j = 0; j <= 48; j++) {         long long int val = 4 * i + 9 * j;         val %= 49;         if (i + j > n) continue;         md[val] = max(md[val], n - i - j);       }     }     long long int ans = 0;     for (long long int i = 0; i < 500; i++) {       ans += md[i] + 1;     }     cout << ans;     return 0;   }   