#include #include using namespace std; int main(void){ int A,B; cin >> A >> B; cout << floor(50*A+((50*A)/(0.8+0.2*B))) << endl; return 0; }