import java.util.*;
import java.io.*;

public class Main{
 public static void main(String[] args) throws IOException
 {
   Scanner sc = new Scanner(System.in);
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);
   
   String inStr = br.readLine();
   double r = Double.parseDouble(inStr);
 
    System.out.printf("%.6f", r*r*Math.PI);
    System.out.print(" ");
    System.out.printf("%.6f", 2*r*Math.PI);
    System.out.println("");
 }
} import java.util.*; util.* java import java.io.*; io.* java public class Main{
 public static void main(String[] args) throws IOException
 {
   Scanner sc = new Scanner(System.in);
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);
   
   String inStr = br.readLine();
   double r = Double.parseDouble(inStr);
 
    System.out.printf("%.6f", r*r*Math.PI);
    System.out.print(" ");
    System.out.printf("%.6f", 2*r*Math.PI);
    System.out.println("");
 }
} Main public static void main(String[] args) throws IOException
 {
   Scanner sc = new Scanner(System.in);
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);
   
   String inStr = br.readLine();
   double r = Double.parseDouble(inStr);
 
    System.out.printf("%.6f", r*r*Math.PI);
    System.out.print(" ");
    System.out.printf("%.6f", 2*r*Math.PI);
    System.out.println("");
 } main {
   Scanner sc = new Scanner(System.in);
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);
   
   String inStr = br.readLine();
   double r = Double.parseDouble(inStr);
 
    System.out.printf("%.6f", r*r*Math.PI);
    System.out.print(" ");
    System.out.printf("%.6f", 2*r*Math.PI);
    System.out.println("");
 } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) String inStr = br.readLine(); inStr br.readLine() br.readLine br double r = Double.parseDouble(inStr); r Double.parseDouble(inStr) Double.parseDouble Double inStr System.out.printf("%.6f", r*r*Math.PI) System.out.printf System.out System System.out "%.6f" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI System.out.print(" ") System.out.print System.out System System.out " " System.out.printf("%.6f", 2*r*Math.PI) System.out.printf System.out System System.out "%.6f" 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI System.out.println("") System.out.println System.out System System.out "" String[] args args public class Main{
 public static void main(String[] args) throws IOException
 {
   Scanner sc = new Scanner(System.in);
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);
   
   String inStr = br.readLine();
   double r = Double.parseDouble(inStr);
 
    System.out.printf("%.6f", r*r*Math.PI);
    System.out.print(" ");
    System.out.printf("%.6f", 2*r*Math.PI);
    System.out.println("");
 }
} public class Main{
 public static void main(String[] args) throws IOException
 {
   Scanner sc = new Scanner(System.in);
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);
   
   String inStr = br.readLine();
   double r = Double.parseDouble(inStr);
 
    System.out.printf("%.6f", r*r*Math.PI);
    System.out.print(" ");
    System.out.printf("%.6f", 2*r*Math.PI);
    System.out.println("");
 }
} Main
import java.util.*;
import java.io.*;

public class Main{
 public static void main(String[] args) throws IOException
 {
   Scanner sc = new Scanner(System.in);
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);
   
   String inStr = br.readLine();
   double r = Double.parseDouble(inStr);
 
    System.out.printf("%.6f", r*r*Math.PI);
    System.out.print(" ");
    System.out.printf("%.6f", 2*r*Math.PI);
    System.out.println("");
 }
}