#include #include #include #include #include #include #include #include #include //#include using namespace std; typedef long long ll; typedef unsigned long long ull; typedef pair pii; typedef pair pll; typedef vector vi; typedef vector vll; #define pb push_back templatevoid read(T &x) { register T c = getchar(); x = 0; int t = 0; if (c == '-') t = 1, c = getchar(); for (; (c < 48 || c > 57); c = getchar()); for (; c > 47 && c < 58; c = getchar()) { x = (x << 1) + (x << 3) + c - 48; } if (t) x = -x; } int main() { //ios_base::sync_with_stdio(false); cin.tie(NULL); ll k,sum=0; cin>>k; ll i=(k*(k-1))+1; ll cnt=0; while(cnt