import java.io.*;

class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        double r = Double.parseDouble(br.readLine());
        System.out.println(String.format("%f", (r*r*Math.PI)) + " " + String.format("%f", (2*r*Math.PI)));
    }
} import java.io.*; io.* java class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        double r = Double.parseDouble(br.readLine());
        System.out.println(String.format("%f", (r*r*Math.PI)) + " " + String.format("%f", (2*r*Math.PI)));
    }
} Main public static void main (String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        double r = Double.parseDouble(br.readLine());
        System.out.println(String.format("%f", (r*r*Math.PI)) + " " + String.format("%f", (2*r*Math.PI)));
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        double r = Double.parseDouble(br.readLine());
        System.out.println(String.format("%f", (r*r*Math.PI)) + " " + String.format("%f", (2*r*Math.PI)));
    } 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 System.out.println(String.format("%f", (r*r*Math.PI)) + " " + String.format("%f", (2*r*Math.PI))) System.out.println System.out System System.out String.format("%f", (r*r*Math.PI)) + " " + String.format("%f", (2*r*Math.PI)) String.format("%f", (r*r*Math.PI)) + " " + String.format("%f", (2*r*Math.PI)) String.format("%f", (r*r*Math.PI)) String.format String "%f" (r*r*Math.PI) r*r*Math.PI r r Math.PI Math Math.PI " " String.format("%f", (2*r*Math.PI)) String.format String "%f" (2*r*Math.PI) 2*r*Math.PI 2 r Math.PI Math Math.PI String[] args args
import java.io.*;

class Main {
    public static void main (String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        double r = Double.parseDouble(br.readLine());
        System.out.println(String.format("%f", (r*r*Math.PI)) + " " + String.format("%f", (2*r*Math.PI)));
    }
}