import java.util.Scanner

fun main(args:Array<String>){
    val cin = Scanner(System.`in`)
    val r = cin.nextDouble()
    val pi = 3.141592653589
    
    val area = r*r*pi
    val cir = 2*r*pi

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

