import Data.Functor( (<$>))
import Text.Printf( printf)

main = do
    r <- read <$> getLine
    let
	area = pi * r*r::Double
	circumference = 2 * pi * r

    printf "%.5f %.5f\n" area circumference

