#include <bits/stdc++.h> using namespace std; int main() { int a=0; for(int b=12,i=1002;b<=i;b+=10){ a+=b; } cout<<a<<endl; }