#include #include #include #include #include #include #include long int sumOfGroup(long int k) { // Return the sum of the elements of the k'th group. k = k * k * k; return k; } int main() { long int k; scanf("%ld", &k); long int answer = sumOfGroup(k); printf("%ld\n", answer); return 0; }