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