#include #include #include #include #include #include #include #include #include #include #include #include #include #define FOR(i, a, b) for(int i=(a);i<=(b);i++) #define RFOR(i, a, b) for(int i=(a);i>=(b);i--) #define MOD 1000000007 #define INF 1000000000 using namespace std; int main(void) { double a, b; double total; cin >> a >> b; total = floor((50 * a) / (0.8 + 0.2*b)); total += 50 * a; cout << (int)total << endl; return 0; }