Go: package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
)

var sc = bufio.NewScanner(os.Stdin)

func main() {
	for sc.Scan() {
		d, _ := strconv.Atoi(sc.Text())
		var area int
		for i := 1; i*d < 600; i++ {
			area += d * (d * i) * (d * i)
		}
		fmt.Println(area)
	}
}

C++: #include <iostream>
using namespace std;
int main() {
  int d;
  
  while(cin >> d) {
	int n = 600 / d;
	int sum = 0;
	for(int k = 0; k < n; ++k) {
	  sum += d * (k * d) * (k * d);
	}
	cout << sum << endl;
  }
  return 0;
}

C++: #include<iostream>

using namespace std;

int main() {
	int d, x = 600, y, s = 0;
	cin >> d;
	for (x -= d; x > 0; x -= d) {
		y = x * x;
		s += y * d;
	}
	cout << s << endl;
	return 0;
}

C++: #include<iostream>
int main(){int i,d,s;while(std::cin>>d){s=0;for(i=0;i<600;i+=d){s+=d*i*i;}std::cout<<s<<std::endl;}return 0;}

C++: #include<iostream>
#include<stdio.h>
using namespace std;

int main(){
	int d;
	int n;


	while (scanf("%d",&d) != EOF){
		n = 600 / d;
		int sum = 0;

		for (int i = 0; i < n; i++){
			int f;
			f = (i*d)*(i*d);
			sum += f*d;
		}
		cout << sum << endl;
	}
	return 0;

}

C++: #include <stdio.h>

int main(void)
{
	int i;
	int d;
	int ans;
	
	while (scanf("%d", &d) != EOF){
		ans = 0;
		for (i = d; i <= 600 - d; i += d){
			ans += (i * i) * d;
		}
		printf("%d\n", ans);
	}
	return (0);
}

C++: #include <cstdio>
#include <iostream>
using namespace std;

int main()
{
  int d;

  while (~scanf("%d", &d)){
    int s = 0;
    for (int i = 0; i < 600; i += d){
      s += i * i * d;
    }
    printf("%d\n", s);
  }
  
  return (0);
}

C++: #include<iostream>

using namespace std;

int main()
{
	int n;
	int S = 0;
	
	cin >> n;
	
	for(int i = 0;600 - i*n > 0;i++){
		S += (i*n)*(i*n) * n;
	}
	
	cout << S << endl;
}

C++: #include <iostream>
#include <vector>

using namespace std;

double f(double x) {
  return x * x;
}

int main(int argc, char *argv[]) {
  double d;
  double s;
  vector<int> result;

  while (cin >> d) {
    s = 0.0;
    for (int i = 0; i < 600/d; i++)
      s += d * f(d * i);
    result.push_back((int)s);
  }

  for (int i = 0; i < result.size(); i++)
    cout << result[i] << endl;
  return 0;
}

C++: #include<iostream>
#include<queue>
#include<string>
#include<stack>
#include<cstdio>
#include<algorithm>

using namespace std;

int main(void)
{
  int d=0;
  int i=0;
  int sq=0;

  while(scanf("%d", &d)!=EOF)
    {
      sq=0;
      for(i=d;i<600;i+=d)
	sq+=d*i*i;
      cout<<sq<<endl;
    }

}

C++: #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;

int main() {
	while(true) {
		int d;
		if(scanf("%d", &d)<1)break;
		int sum = 0;
		for(int i = 0; i < 600; i+=d) {
			sum += i*i*d;
		}
		printf("%d\n", sum);
	}
	return 0;
}

C++: #include <iostream>

long int sum_area(int d){
	long int sum;
	for(int i = d;i <= 600 - d;i += d){
		sum += i*i*d;
	}
	return sum;
}

int main(){
	int d;
	while(std::cin >> d)
		std::cout << sum_area(d) << std::endl;
	
	return 0;
}

C++: #include <iostream>
#include <vector>
#include <list>
#include <algorithm>
#include <string>
#include <stack>
#include <iomanip>
#include <numeric>
#include <queue>

using namespace std;
using ll = long long;
#define MOD 1000000007
#define INF 1LL << 59

int main()
{
    std::ios::sync_with_stdio(false);
    std::cin.tie(0);

    int d;
    while (cin >> d)
    {
        ll sum = 0;

        for (int i = 1;; ++i)
        {
            if (i * d >= 600)
                break;
            sum += d * (i * d) * (i * d);
        }
        cout << sum << endl;
    }
    return 0;
}

C++: #include <iostream>
using namespace std;

int main() {
  std::cin.tie(0);
  std::ios::sync_with_stdio(false);

  int i;
  int d, sum;

  while (cin >> d) {
    sum = 0;

    for (i = 0; (i * d != 600); i++) {
      sum += d * (i * i * d * d);
    }

    cout << sum << endl;
  }

  return 0;
}

C++: #include "bits/stdc++.h"
#include <cstdio>
#include <cmath>
using namespace std;

int main(){
	int d=0;
	while(cin>>d){
		int sum=0;

		for (int i = 0; i < 600; i=i+d) {
		sum+=i*i*d;
	}
	cout<<sum<<endl;
	}
}

C++: #include <iostream>
using namespace std;
int main(void){
    int d,sum;
    while(cin>>d){
        sum=0;
        for(int i=1 ;d*i <= 600-d;i++){
            int f=d*i;
            sum += f*f*d;
        }
        cout<<sum<<endl;
    }
    return 0;
}

C++: #include <iostream>
using namespace std;

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

C++: #include<stdio.h>
#include<math.h>
int f(int);

int main(void){
    int a=0, b=600, x,d;
    int n,i;
    int s,sum;
    scanf("%d¥n　%d", &d,&d);
    n=(b-a)/d;
    
    sum=0.0;
    x=a;
    for(i=1; i<=n; i++){
        s=d*f(x);
        x+=d;
        sum+=s;
    }
    printf("%d\n", sum);
}
int f(int x){
    return x*x;
}

C++: #include <iostream>
using namespace std;

int main(void){
  int d, sum;
  
  while(cin >> d){
    sum = 0;
    for(int i = 0 ; i < 600 ; i+=d){
      sum += i*i*d;
    }
    cout << sum << endl;
  }
  return 0;
}

C++: #include <iostream>
using namespace std;

int main(){
	int d;

	while(cin >> d){
		int area = 0;
		for(int x = d; x <= 600-d; x += d){
			area += x * x * d;
		}
		cout << area << endl;
	}

	return(0);
}

C++: #include <iostream>
using namespace std;
int main()
{
	long d = 0;
	while(cin>>d)
	{
		long count = 0;
		for(long i=0;i<600;i+=d)
		{
			count += d*i*i;
		}
		cout<<count<<endl;
	}
}

C++: #include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define rep1(i,n) for(int i=1;i<=(int)(n);i++)
#define all(c) c.begin(),c.end()
#define pb push_back
#define fs first
#define sc second
#define show(x) cout << #x << " = " << x << endl
#define chmin(x,y) x=min(x,y)
#define chmax(x,y) x=max(x,y)
using namespace std;
int main(){
	int d;
	while(cin>>d){600;x+=d
{
	s+=x*x*d;
}		int s
cout<<s<<endl;=0;
		for(int x=d;xM)
	}
}

C++: #include<stdio.h>
int main(){
	int a,b,i;
	while(~scanf("%d",&a)){
		b=i=0;
		for(;i<600/a;){
			b+=a*i*a*i++*a;
		}
		printf("%d\n",b);
	}
}

C++: #include<bits/stdc++.h>
using namespace std;
/* 変数名を被らせない
   デバッグコードを取り除く 
　　提出する問題を間違えない */
#define ANS(x) cout<<x<<endl
#define debug(x) cout<<#x<<": "<<x
int main(){
  int d,s = 0;
  cin >> d;
  for(int i=1;i<=600/d-1;i++){
    s += (d*i)*(d*i)*d;
  }
  ANS(s);
}

C++: #include<iostream>
using namespace std;

int main()
{
    int n, m;
    long double ans = 0;
    cin >> n;
    m = 600 / n;
    for (int i = 0; i < 600; i += n) {
        ans += n*i * i;
    }
    cout << ans << endl;
    return 0;
}

C++: #include <iostream>

using namespace std;

int main() {
  int d, tmp, s = 0;
  while (cin >> d) {
    tmp = d;
    for (; d <= 600 - tmp; d += tmp) {
      s += d * d * tmp;
    }
    cout << s << endl;
  }
  return 0;
}

C++: #include<iostream>

using namespace std;

int main(){

	int d,e;
	cin >> d >> e;


	int s=0;
	for(int i=1;i<600/d;i++)
	s+=d*i*d*i*d;

	int t=0;
	for(int i=1;i<600/e;i++)
	t+=e*i*e*i*e;

    cout << s << endl;
    cout << t << endl;

	return 0;
}

C++: #include<iostream>
using namespace std;
int main(){
	int d,s;
	while(cin >> d){
		s=0;
		for(int i=d; i<600; i+=d)
			s += (i*i) * d;
		cout << s << endl;
	}
	return 0;
}

C++: #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
using namespace std;

int main() {
	unsigned long long int s=0;
	int d;
	while (cin >> d) {
		s = 0;
		for (int i = d; i <= 600 - d; i += d) {
			s += i*i*d;
		}
		cout << s << endl;
	}
	return 0;
}

C++: #include<stdio.h>

int main(void)
{
	int d,kai[100]={0},i,j=0,k;

	while(scanf("%d",&d) != EOF)
	{
		for(i=0;i<600;i+=d)
		{
		  kai[j]+=i*i*d;
		}
	j+=1;
	}
    for(i=0;i<j;i++)
	{
		printf("%d\n",kai[i]);
	}
  return 0;
}