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