object Main {
  def main (args: Array[String]) {
    val Array(r) = scala.io.StdIn.readLine.split(" ").map(_.toFloat)
    println( (scala.math.pow(r,2) * scala.math.Pi) + " " + (r *2 * scala.math.Pi) )
  }
}