#include<iostream> using namespace std; int main(){ int s=0; for(int i=12;i<=1002;i+=10){ s+=i; } cout<<s; }