object Main {
  def main(args:Array[String]) = {
    val sc = new java.util.Scanner(System.in)
    val N = sc.nextInt
    val M = sc.nextInt
    val x = 100
    val time = (1900*((1 - Math.pow(0.5, x))/0.5 - (M+1)*Math.pow(0.5, x+1)) + 100*(N - M)).toInt
    println(time)
  }
}
