Question

Write a function to find the sum of the cubes of the first n natural numbers?

Login to Submit

Examples

input:1
output:1

input:2
output:9

input:3
output :36