#include using namespace std; int main() { int n, k; cin >> n >> k; cout << 50 * n + (int)(50 * n / (0.8 + 0.2 * k) + 1e-12) << endl; return 0; }