fun main() { val (a, b) = readLine()!!.split(' ').map { it.toInt() } println(50 * a + Math.floor((50.0*a)/(0.8+0.2*b))) }