import scala.io.StdIn.readLine

object Main {
  def main(args:Array[String]):Unit = {
    val pi:Double = 3.14159265359
    val r = readLine().toDouble

    println("%.8f %.8f".format(pi * r * r, 2 * pi * r))
  }
}