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

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

class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
    double r = Double.parseDouble(buf.readLine());
    double pi = 3.141592653589;
    System.out.printf("%.6f %.6f\n", pi*r*r, 2*pi*r);
  }
}