import Control.Applicative
import Control.Monad
import Data.List
import Text.Printf

readInts :: IO [Int]
readInts = map read . words <$> getLine

main :: IO ()
main = do
  r <- readLn
  let (s, c) = solve r
  printf "%f %f\n" s c

solve :: Double -> (Double, Double)
solve r = (s, c)
 where
  s = pi * (r ^ 2)
  c = 2 * pi * r

