#D8894. Integral

    ID: 7393 Type: Default 1000ms 134MiB

Integral

Integral

Write a program which computes the area of a shape represented by the following three lines:

y=x2y = x^2 y=0y = 0 x=600x = 600

It is clear that the area is 7200000072000000, if you use an integral you learn in high school. On the other hand, we can obtain an approximative area of the shape by adding up areas of many rectangles in the shape as shown in the following figure:

$f(x) = x^2$

The approximative area ss where the width of the rectangles is dd is:

area of rectangle where its width is dd and height is f(d)f(d) ++ area of rectangle where its width is dd and height is f(2d)f(2d) ++ area of rectangle where its width is dd and height is f(3d)f(3d) ++ ... area of rectangle where its width is dd and height is f(600d)f(600 - d)

The more we decrease dd, the higer-precision value which is close to 7200000072000000 we could obtain. Your program should read the integer dd which is a divisor of 600600, and print the area ss.

Input

The input consists of several datasets. Each dataset consists of an integer dd in a line. The number of datasets is less than or equal to 20.

Output

For each dataset, print the area ss in a line.

Example

Input

20 10

Output

68440000 70210000

inputFormat

Input

The input consists of several datasets. Each dataset consists of an integer dd in a line. The number of datasets is less than or equal to 20.

outputFormat

Output

For each dataset, print the area ss in a line.

Example

Input

20 10

Output

68440000 70210000

样例

20
10
68440000

70210000

</p>