#include <iostream>
using namespace std;

int main() {
    double d;
    int S;
    while(cin >> d){
        S = 0;
        for(int i = 1;d*i < 600;i++){
            S = S + (d*i*d*i)*d ;
        }
        cout << S << endl;
    }
    return 0;
}