import java.math.BigDecimal
import java.util.*

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    val r =scanner.nextDouble()
    val area = BigDecimal(Math.PI * r * r)
    val coc = BigDecimal(2 * Math.PI * r)
    println("${area.toPlainString()} ${coc.toPlainString()}")
}

