fun main(args: Array<String>) {
    val r = readLine()!!.toDouble()
    val p = 3.141592653589
    val area = p * r * r
    val circleLength = 2 * p * r
    println("%5f %5f".format(area, circleLength))
}


