At the North Pole, a polar bear is teaching her cubs mathematics using ice spheres. She plans to create spheres, each with a radius ranging from to . Your task is to help the bear calculate the total volume of ice, in cubic meters, required to make these spheres. Each sphere is formed from a cube whose edge length is equal to the diameter of the sphere.
A single integer , representing the number of ice spheres, where 1 \leq N \leq 5\,000.
An integer , representing the total cubic meters of ice needed to create these ice spheres.
Example 1
8 + 64 + 216 = 288