func_code_string: #include <iostream>   #include <string>   #include <cmath>   #include <vector>   #include <algorithm>   #include <utility>   #include <bitset>   #include <climits>   #include <set>   #include <map>   #include <iomanip>   #include <queue>   #include <cstring>   using namespace std;   #define ll long long   #define pll pair<ll,ll>   #define F first   #define S second   #define pll pair<ll,ll>   #define mp make_pair   #define pb push_back   const ll N=1e9+7;   ll gcd(ll a,ll b){       if(b==0) return a;       return gcd(b,a%b);   }      int main(){       ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);       ll t;       cin >>t;       while(t--){           ll n;           cin >> n;           ll cur=1,ans=0;           for(ll i=2;i<43;i++){               ans+=i*((n/cur)-(n/cur)/(i/gcd(cur,i)));               ans%=N;               cur*=i/gcd(cur,i);           }           cout << ans << endl;       }       return 0;   }