import java.util.*

fun main(args: Array<String>) {
    val sc = Scanner(System.`in`)
    val r = sc.next().toDouble()

    val area= r * r * Math.PI
    val circumferenceLength = 2.0 * r * Math.PI
    println("%f %f".format(area, circumferenceLength))
}
