fun main(args: Array<String>) {
    val (n,m)= readLine()!!.split(" ").map{it.toInt()}
    val time = 1900*m+100*(n-m)
    val numSubmit = Math.pow(2.0,m.toDouble()).toInt()
    println( time * numSubmit )
}