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

$y = x^2$
$y = 0$
$x = 600$



It is clear that the area is $72000000$, 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:

<image>
$f(x) = x^2$



The approximative area $s$ where the width of the rectangles is $d$ is:

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


The more we decrease $d$, the higer-precision value which is close to $72000000$ we could obtain. Your program should read the integer $d$ which is a divisor of $600$, and print the area $s$.



Input

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

Output

For each dataset, print the area $s$ in a line.

Example

Input

20
10


Output

68440000
70210000
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	/** X 座標の上限 */
	private static final int X_LIMIT = 600;

	/**
	 * 入力値の幅の長方形で二次関数の面積の近似値を求める。
	 *
	 * @param args
	 */
	public static void main(String[] args) throws IOException {

		// 入力がある限り処理を行う
		String line = null;
		BufferedReader reader = new BufferedReader(new InputStreamReader(
				System.in));
		while ((line = reader.readLine()) != null) {
			int area = calculateArea(Integer.parseInt(line));
			System.out.println(area);
		}

		if (reader != null) {
			reader.close();
		}
	}

	/**
	 *  指定された幅の長方形で二次関数の面積の近似値を求める。
	 *
	 * @param width 長方形の幅
	 * @return 二次関数の面積の近似値
	 */
	protected static int calculateArea(final int width) {

		int area = 0;
		int parameter = width;

		// 限界値未満の間、面積の計算を繰り返す
		while(parameter < X_LIMIT) {
			area += width * f(parameter);
			parameter += width;
		}

		return area;
	}

	/**
	 * 二次関数 y = x^2
	 *
	 * @param parameter x
	 * @return x^2
	 */
	protected static int f(final int parameter) {
		return parameter * parameter;
	}

}