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 = s.toFloat
    val ll = l.toFloat
    println(ss + " " + ll)
  }

}