fun main(args: Array<String>){
    val trycase = 1900
    val surecase = 100
    val (n, m) = readLine()!!.split(" ").map(String::toInt)
    println((trycase * m + surecase * (n - m)) * exponent(2, m))
}
fun exponent(base:Int, exp:Int):Int {
    return when(exp){
        0 -> 1
        1 -> base
        else -> exponent(base, exp / 2).let{it * it} * exponent(base, exp % 2)
    }
}
