object Main {
  
  def main(args: Array[String]) {
     val r = readLine().toDouble
     
     val area = Math.PI * r * r
     val circumference = 2 * Math.PI * r
     println(f"$area%.5f $circumference%.5f")
  }
}
