#include <iostream>

void calc(int vertical, int horizontal, int& area)
{
    if (0 >= vertical)
        return;

    area += (vertical * horizontal);

    return calc(vertical - horizontal, horizontal, area);
}
int main()
{
    int n = 0;

    while (std::cin >> n) {
        int area = 0;
        calc(600, n, area);
        std::cout << area << std::endl;
    }
}
