import scala.io.StdIn._
import Math._
object Main {
  def main(args: Array[String]) {
    val r = readDouble()
    val s = PI * pow(r, 2)
    val l = 2 * PI * r
    val ss = BigDecimal(s)
    val ll = BigDecimal(l)
    val sss = ss.setScale(5, scala.math.BigDecimal.RoundingMode.HALF_UP)
    val lll = ll.setScale(4, scala.math.BigDecimal.RoundingMode.HALF_UP)
    println(sss + " " + lll)
  }
}