#include using namespace std; #pragma GCC optimize("Ofast") #pragma GCC optimize ("unroll-loops") #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") #define int long long #define F first #define S second #define pb push_back int n,a[1000005],ans[1000005]; vector v[1000005]; signed main() { cin.tie(0); ios_base::sync_with_stdio(0); cin>>n; int sum=0; for(int i=0;i<=1000000;i++) ans[i]=1e18; for(int i=1;i<=1000000;i++) { for(int j=1;j<=1000000/i;j++) v[i*j].pb(i); } multiset s; for(int i=0;i>a[i]; sum+=a[i]; ans[a[i]]=0; } //cout<