#include "bits/stdc++.h" using namespace std; int main() { int n, sum=0; vector a; cin >> n; for(int i=0; i>t; sum += t; a.push_back(t); } int x = (int)sqrt(sum+0.1); int ans = 0; for (int i=0; i