#include using namespace std; //1 3 7 13 21 //1 8 27 64 long sumOfGroup(long k) { // Return the sum of the elements of the k'th group. long sum=0; sum=k*k*k; return sum; } int main() { long k; cin >> k; long answer = sumOfGroup(k); cout << answer << endl; return 0; }