import Control.Applicative
import Text.Printf

main :: IO ()
main = do
  r <- read <$> getLine
  putStrLn $ solve r

solve :: Double -> String
solve r = printf "%.10f %.10f" (r * r * pi) (r * pi * 2.0) 