object Main extends App {
  val in = scala.io.Source.stdin.getLines.toSeq
  val ls = in.map(_.split(' ').map(_.toLong))
  val H = ls(0)(0)
  val W = ls(0)(1)
  
  val ret = (H * W + 1) / 2
  println(ret)
}
