object Main {
  def main(args:Array[String]) = {
    val sc = new java.util.Scanner(System.in)
    val N = sc.nextInt
    val M = sc.nextInt

    var time = 1900 * M + 100 * (N - M)
    for(i <- 1 to M){
      time *= 2
    }
    println(time)
  }
}
