#include using namespace std; int main(void) { int a, b, f; cin >> a >> b; f = 50 * a + (int)((50.0 * a) / (0.8 + 0.2 * b)); cout << f << endl; return 0; }