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