import scala.io.StdIn

/**
  * AOJ
  */
object Main {

  def main(args: Array[String]): Unit = {
    val r = StdIn.readDouble()
    println("%.8f %.8f".format(Math.PI * Math.pow(r,2), 2 * Math.PI * r))
  }
}