#include using namespace std; int f(int n,int k){ return 50*n+50*n/(k+4/5); } int main(){ int n,k;cin>>n>>k; cout << f(n,k) << endl; }