import java.io.*;
import java.util.Arrays;
class Main{
	public static void main(String[] args) throws IOException {
		double n;
		String str;
		String[] f = new String[5];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		str = in.readLine();
		n = Double.parseDouble(str);
		f[0] = String.format("%.6f",2*n*Math.PI);
		f[1] = String.format("%.6f",n*n*Math.PI);
		System.out.println(f[1]+" "+f[0]);
	}
} import java.io.*; io.* java import java.util.Arrays; Arrays java.util class Main{
	public static void main(String[] args) throws IOException {
		double n;
		String str;
		String[] f = new String[5];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		str = in.readLine();
		n = Double.parseDouble(str);
		f[0] = String.format("%.6f",2*n*Math.PI);
		f[1] = String.format("%.6f",n*n*Math.PI);
		System.out.println(f[1]+" "+f[0]);
	}
} Main public static void main(String[] args) throws IOException {
		double n;
		String str;
		String[] f = new String[5];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		str = in.readLine();
		n = Double.parseDouble(str);
		f[0] = String.format("%.6f",2*n*Math.PI);
		f[1] = String.format("%.6f",n*n*Math.PI);
		System.out.println(f[1]+" "+f[0]);
	} main {
		double n;
		String str;
		String[] f = new String[5];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		str = in.readLine();
		n = Double.parseDouble(str);
		f[0] = String.format("%.6f",2*n*Math.PI);
		f[1] = String.format("%.6f",n*n*Math.PI);
		System.out.println(f[1]+" "+f[0]);
	} double n; n String str; str String[] f = new String[5]; f new String[5] 5 BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) str = in.readLine() str in.readLine() in.readLine in n = Double.parseDouble(str) n Double.parseDouble(str) Double.parseDouble Double str f[0] = String.format("%.6f",2*n*Math.PI) f[0] f 0 String.format("%.6f",2*n*Math.PI) String.format String "%.6f" 2*n*Math.PI 2*n*Math.PI 2 n Math.PI Math Math.PI f[1] = String.format("%.6f",n*n*Math.PI) f[1] f 1 String.format("%.6f",n*n*Math.PI) String.format String "%.6f" n*n*Math.PI n*n*Math.PI n n Math.PI Math Math.PI System.out.println(f[1]+" "+f[0]) System.out.println System.out System System.out f[1]+" "+f[0] f[1]+" "+f[0] f[1] f 1 " " f[0] f 0 String[] args args
import java.io.*;
import java.util.Arrays;
class Main{
	public static void main(String[] args) throws IOException {
		double n;
		String str;
		String[] f = new String[5];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		str = in.readLine();
		n = Double.parseDouble(str);
		f[0] = String.format("%.6f",2*n*Math.PI);
		f[1] = String.format("%.6f",n*n*Math.PI);
		System.out.println(f[1]+" "+f[0]);
	}
}