#include using namespace std; uint64_t sumOfGroup(int k) { // Return the sum of the elements of the k'th group. return (uint64_t)k*k*k; } int main() { int k; cin >> k; uint64_t answer = sumOfGroup(k); cout << answer << endl; return 0; }