import scala.io.StdIn.readDouble
import scala.math.Pi

object Main {

  def main(args: Array[String]) = {
      val r = readDouble()
      println("%.6f".format(r*r*Pi) + " " + "%.6f".format(2*r*Pi))
  }
}