import java.lang.Math.*

fun main(args: Array<String>) {
    val r = readLine()!!.toDouble()

    val area = PI * pow(r, 2.toDouble())
    val circumference = 2 * PI * r

    println("%f %f".format(area, circumference))
}

