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));
		double a= Double.parseDouble(reader.readLine());
		System.out.printf("%6f %6f",a*a*Math.PI,a*2*Math.PI);
	}
} 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));
		double a= Double.parseDouble(reader.readLine());
		System.out.printf("%6f %6f",a*a*Math.PI,a*2*Math.PI);
	}
} Main public static void main(String args[]) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		double a= Double.parseDouble(reader.readLine());
		System.out.printf("%6f %6f",a*a*Math.PI,a*2*Math.PI);
	} main {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		double a= Double.parseDouble(reader.readLine());
		System.out.printf("%6f %6f",a*a*Math.PI,a*2*Math.PI);
	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) double a= Double.parseDouble(reader.readLine()); a Double.parseDouble(reader.readLine()) Double.parseDouble Double reader.readLine() reader.readLine reader System.out.printf("%6f %6f",a*a*Math.PI,a*2*Math.PI) System.out.printf System.out System System.out "%6f %6f" a*a*Math.PI a*a*Math.PI a a Math.PI Math Math.PI a*2*Math.PI a*2*Math.PI a 2 Math.PI Math Math.PI String args[] args public class Main {
	public static void main(String args[]) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		double a= Double.parseDouble(reader.readLine());
		System.out.printf("%6f %6f",a*a*Math.PI,a*2*Math.PI);
	}
} public class Main {
	public static void main(String args[]) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		double a= Double.parseDouble(reader.readLine());
		System.out.printf("%6f %6f",a*a*Math.PI,a*2*Math.PI);
	}
} 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));
		double a= Double.parseDouble(reader.readLine());
		System.out.printf("%6f %6f",a*a*Math.PI,a*2*Math.PI);
	}
}