import scala.io.StdIn.readLine
import scala.util.Random

object Solution {
  val mod: Int = Math.pow(10, 9).toInt + 7

  def main(args: Array[String]): Unit = {
    //    val src = io.Source.fromFile("/usr/share/dict/words")
    //    val lines = src.getLines()
    //    src.close()
//    val t = readLine().toInt
//    for (i <- 1 to t) {
      val nm = readIntLine()

    println(nm.head * nm.last)
//
//      if (handle(nm.head, edges)) println(-1)
//    }
    //          println(minNum(List[Boolean](false, false, true)))
//    handle(3, List((1,2), (2,3), (3,1)))
  }



  def readIntLine(): List[Int] = {
    readLine().split(" ").map(_.toInt).toList
  }

  def readLongLine(): List[Long] = {
    readLine().split(" ").map(_.toLong).toList
  }

  def printArray[T](arr: Array[T]) {
    print(arr(0))
    for (i <- 1 until arr.length) {
      print(" " + arr(i))
    }
    println()
  }

}

