#include<iostream>
#include<iomanip>
#include<cstdio>
#include<cstdlib>
#include<ctime>
using namespace std;
int main(){
int a,b,c,n;
cin>>n;
a = (600+500)*10;
cout<<(a*n)<<endl;
return 0;
}
#include<iostream>
#include<iomanip>
#include<cstdio>
#include<cstdlib>
#include<ctime>
using namespace std;
int main(){
int a,b,c,n;
cin>>n;
a = (600+500)*10;
cout<<(a*n)<<endl;
return 0;
}