#!/bin/python3 import sys def sumOfGroup(k): # Return the sum of the elements of the k'th group. #list1 = [i for i in range(1, 10**4) if i%2 == 1 ] ''' if(k == 1): return list1[0] elif(k == 2): return sum(list1[1:3]) else: return list1[k:k+k] ''' return (k**3) #return (list1) if __name__ == "__main__": k = int(input().strip()) answer = sumOfGroup(k) print(answer)