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

    val okCaseTime = (m-n) * 100
    val caseTime = go(n, 1, 0.0) * 1900

    println(okCaseTime + caseTime)
  }

  def go(n: Int, i: Int, sum: Double): Int = {
    val increase =  i.toDouble * (1.0 / Math.pow(2, i))
    if (increase < 0.000001) sum.toInt + 1
    else go(n, i + 1, sum + increase)
  }
}
