#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define Would #define you const int INF = 999999999; const int MOD = 1e9 + 7; int main() { int a, b; cin >> a >> b; cout << a * 50 + 250 * a / (b + 4) << endl; }