Interesting Experiments
For the upcoming experiment, we require X identical wooden cubes. Begin by taking one cube and some "Super Glue". Carefully, holding the cube by two opposite corners, apply the glue evenly (be cautious not to stick the cube to your hand during this process). Attach another cube to each face of the original cube and press the structure firmly to ensure the glue sets. Allow half a minute for the glue to dry completely. Then, repeat this process with the newly formed structure: coat its entire surface with glue, attach a cube to each face, press, and wait for the glue to dry. Interestingly, if this process is repeated exactly N (1 ≤ N ≤ 10^5)
times, all the cubes will adhere together to form a single model. This model can be described as a cuboctahedron: up close, it appears cube-like, but from a distance, it resembles an octahedron. However, the goal of the experiment is not to create this unique shape, which you may keep as a souvenir. The true aim is to determine the number X :).
Input
The input consists of a single line containing the number N.
Output
Output the number X.