#include #define rep(i,n) for(int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main(){ cin.tie(0); ios::sync_with_stdio(0); auto f = [&](long double N, long double K) { return 50.0 * N + (500 * ll(N) / (8 + 2 * ll(K))); }; long double A,B; cin >> A >> B; cout << f(A, B) << endl; }