fun main(args: Array<String>) {
    while(true)
    {
        var list = readLine()!!.split(" ").map(String::toDouble)
        var a = list[0] * list[0] * Math.PI
        var b = list[0] * 2.toDouble() * Math.PI

        print("%f %f".format(a,b))
        return
    }
}
