#include using namespace std; typedef long long ll; int main() { cin.tie(0); ios::sync_with_stdio(false); int A, B; cin >> A >> B; cout << 50 * A + int(50 * A / (0.8 + 0.2 * B)) << endl; }