import scala.io.StdIn.readDouble

object Main extends App {

  val r = readDouble

  val area = "%.6f".format(r * r * scala.math.Pi)
  val circumference = "%.6f".format(r * 2 * scala.math.Pi)

  println(f"$area $circumference")

}

