fun main(arg: Array<String>) {
    val (N, M) = listOfInt()
    var ans = 1900 * M + 100 * (N - M)
    var m =  M
    while (m > 0) {
        ans *= 2
        m -= 1
    }
    println(ans)
}

fun next() = readLine()!!
fun nextInt(delta: Int = 0) = Integer.parseInt(next()) + delta
fun listOfString() = next().split(" ")
fun listOfInt(d: Int = 0) = listOfString().map { Integer.parseInt(it) + d }
fun listOfLong() = listOfString().map(String::toLong)
