{-
ITP1_4-B
Computation - Circle
Time Limit : 1 sec, Memory Limit : 65536 KB
????????¢?????¨?????¨

?????? r ???????????¢?????¨?????¨?????????????±???????????????°?????????????????????????????????
Input

??????????????° r ????????????????????????
Output

??¢?????¨?????¨?????????????????????????????§????????£????????????????????????????????????????????????????°???°?????°??¨??????0.00001 ??\???????????????????????§?????????????????¨????????????
Sample Input

2

Sample Output

12.566371 12.566371
-}

import Data.List.Split
import Text.Printf
import Text.Regex
main = do
  s <- getLine
  putStrLn $ aux s

aux :: String -> String
aux s = printf "%.6f %.6f" (pi*r*r) (pi*2.0*r) :: String
    where
    pi = 3.14159265359
    r = read s :: Double