import scala.io.StdIn.readLine
import scala.Math.Pi

object Main {
	def main(args: Array[String]) = {
		val num = StdIn.readLine.split(" ").map(_.toDouble)
		println("%.6f %.6f\n", num(0)*num(0)*math.Pi, 2*num(0)*math.Pi)
	}
}