#include //const static double de_PI = 3.14159265358979323846; //const static int de_MOD = 1000000007; //const static int de_MAX = 999999999; //const static int de_MIN = -999999999; int main(void) { //std::ifstream inf("123.txt"); std::cin.rdbuf(inf.rdbuf()); double A = 0, B = 0, ans = 0; std::cin >> A >> B; ans = 50 * A + floor((50 * A) / (0.8 + 0.2*B)); std::cout << ans << std::endl; }