import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    while ((readStr = reader.readLine()) != null) {
      double[] list = new double[3];
      list[0] = Double.parseDouble(readStr.split(" ")[0]);
      double r = list[0];
      String a = String.format("%.5f", r*r*Math.PI);
      String b = String.format("%.5f", r*2*Math.PI);
      System.out.println(a + " " + b);
      break;
    }
  }

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    while ((readStr = reader.readLine()) != null) {
      double[] list = new double[3];
      list[0] = Double.parseDouble(readStr.split(" ")[0]);
      double r = list[0];
      String a = String.format("%.5f", r*r*Math.PI);
      String b = String.format("%.5f", r*2*Math.PI);
      System.out.println(a + " " + b);
      break;
    }
  }

} Main public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    while ((readStr = reader.readLine()) != null) {
      double[] list = new double[3];
      list[0] = Double.parseDouble(readStr.split(" ")[0]);
      double r = list[0];
      String a = String.format("%.5f", r*r*Math.PI);
      String b = String.format("%.5f", r*2*Math.PI);
      System.out.println(a + " " + b);
      break;
    }
  } main {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    while ((readStr = reader.readLine()) != null) {
      double[] list = new double[3];
      list[0] = Double.parseDouble(readStr.split(" ")[0]);
      double r = list[0];
      String a = String.format("%.5f", r*r*Math.PI);
      String b = String.format("%.5f", r*2*Math.PI);
      System.out.println(a + " " + b);
      break;
    }
  } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String readStr; readStr while ((readStr = reader.readLine()) != null) {
      double[] list = new double[3];
      list[0] = Double.parseDouble(readStr.split(" ")[0]);
      double r = list[0];
      String a = String.format("%.5f", r*r*Math.PI);
      String b = String.format("%.5f", r*2*Math.PI);
      System.out.println(a + " " + b);
      break;
    } (readStr = reader.readLine()) != null (readStr = reader.readLine()) readStr reader.readLine() reader.readLine reader null {
      double[] list = new double[3];
      list[0] = Double.parseDouble(readStr.split(" ")[0]);
      double r = list[0];
      String a = String.format("%.5f", r*r*Math.PI);
      String b = String.format("%.5f", r*2*Math.PI);
      System.out.println(a + " " + b);
      break;
    } double[] list = new double[3]; list new double[3] 3 list[0] = Double.parseDouble(readStr.split(" ")[0]) list[0] list 0 Double.parseDouble(readStr.split(" ")[0]) Double.parseDouble Double readStr.split(" ")[0] readStr.split(" ") readStr.split readStr " " 0 double r = list[0]; r list[0] list 0 String a = String.format("%.5f", r*r*Math.PI); a String.format("%.5f", r*r*Math.PI) String.format String "%.5f" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI String b = String.format("%.5f", r*2*Math.PI); b String.format("%.5f", r*2*Math.PI) String.format String "%.5f" r*2*Math.PI r*2*Math.PI r 2 Math.PI Math Math.PI System.out.println(a + " " + b) System.out.println System.out System System.out a + " " + b a + " " + b a " " b break; String[] args args public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    while ((readStr = reader.readLine()) != null) {
      double[] list = new double[3];
      list[0] = Double.parseDouble(readStr.split(" ")[0]);
      double r = list[0];
      String a = String.format("%.5f", r*r*Math.PI);
      String b = String.format("%.5f", r*2*Math.PI);
      System.out.println(a + " " + b);
      break;
    }
  }

} public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    while ((readStr = reader.readLine()) != null) {
      double[] list = new double[3];
      list[0] = Double.parseDouble(readStr.split(" ")[0]);
      double r = list[0];
      String a = String.format("%.5f", r*r*Math.PI);
      String b = String.format("%.5f", r*2*Math.PI);
      System.out.println(a + " " + b);
      break;
    }
  }

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String readStr;
    while ((readStr = reader.readLine()) != null) {
      double[] list = new double[3];
      list[0] = Double.parseDouble(readStr.split(" ")[0]);
      double r = list[0];
      String a = String.format("%.5f", r*r*Math.PI);
      String b = String.format("%.5f", r*2*Math.PI);
      System.out.println(a + " " + b);
      break;
    }
  }

}