let () =
  let pi = 4. *. atan 1. in
  let r = float_of_string (read_line()) in
  Printf.printf "%.5f" (pi *. r *. r);
  print_string " ";
  Printf.printf "%.5f" (pi *. 2. *. r);
  print_string "\n"
;;
