import scala.io.StdIn.readLine
import scala.math.Pi

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