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