#include using namespace std; #define FOR(i,l,r) for(int i = (l);i < (r);i++) #define ALL(x) (x).begin(),(x).end() template bool chmax(T& a,const T& b){return a < b ? (a = b,true) : false;} template bool chmin(T& a,const T& b){return b < a ? (a = b,true) : false;} typedef long long ll; double N,K; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); cin >> N >> K; double ans = N * 50.0 + (int) ((50 * N) / (0.8 + 0.2 * K)); cout << (int) (ans + 1e-6) << endl; return 0; }