給你一個整數 x(1 <= x <= 50000)請計算以下式子的和。
1 + 8 + 27 + ...... + x3
Input
每一列有1個整數x。
Output
如題目所述,請參考Sample Output
Sample Input
1 2 3
Sample Output
1 9 36