object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val r = sc.nextDouble()
  val area = Math.PI * r * r
  val circumference = 2 * Math.PI * r
  println("%.6f %.6f".format(area, circumference))
}