import java.util.Scanner;
public class Main {
	void circle(){
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		System.out.println(String.format("%.9f", Math.PI*(double)(r*r)) + " " + String.format("%.9f", Math.PI * (double)(r*2)));
	}
	public static void main(String args[]){
		Main m = new Main();
		m.circle();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	void circle(){
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		System.out.println(String.format("%.9f", Math.PI*(double)(r*r)) + " " + String.format("%.9f", Math.PI * (double)(r*2)));
	}
	public static void main(String args[]){
		Main m = new Main();
		m.circle();
	}
} Main void circle(){
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		System.out.println(String.format("%.9f", Math.PI*(double)(r*r)) + " " + String.format("%.9f", Math.PI * (double)(r*2)));
	} circle {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		System.out.println(String.format("%.9f", Math.PI*(double)(r*r)) + " " + String.format("%.9f", Math.PI * (double)(r*2)));
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) double r = s.nextDouble(); r s.nextDouble() s.nextDouble s System.out.println(String.format("%.9f", Math.PI*(double)(r*r)) + " " + String.format("%.9f", Math.PI * (double)(r*2))) System.out.println System.out System System.out String.format("%.9f", Math.PI*(double)(r*r)) + " " + String.format("%.9f", Math.PI * (double)(r*2)) String.format("%.9f", Math.PI*(double)(r*r)) + " " + String.format("%.9f", Math.PI * (double)(r*2)) String.format("%.9f", Math.PI*(double)(r*r)) String.format String "%.9f" Math.PI*(double)(r*r) Math.PI Math Math.PI (double)(r*r) r r " " String.format("%.9f", Math.PI * (double)(r*2)) String.format String "%.9f" Math.PI * (double)(r*2) Math.PI Math Math.PI (double)(r*2) r 2 public static void main(String args[]){
		Main m = new Main();
		m.circle();
	} main {
		Main m = new Main();
		m.circle();
	} Main m = new Main(); m new Main() m.circle() m.circle m String args[] args public class Main {
	void circle(){
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		System.out.println(String.format("%.9f", Math.PI*(double)(r*r)) + " " + String.format("%.9f", Math.PI * (double)(r*2)));
	}
	public static void main(String args[]){
		Main m = new Main();
		m.circle();
	}
} public class Main {
	void circle(){
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		System.out.println(String.format("%.9f", Math.PI*(double)(r*r)) + " " + String.format("%.9f", Math.PI * (double)(r*2)));
	}
	public static void main(String args[]){
		Main m = new Main();
		m.circle();
	}
} Main
import java.util.Scanner;
public class Main {
	void circle(){
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		System.out.println(String.format("%.9f", Math.PI*(double)(r*r)) + " " + String.format("%.9f", Math.PI * (double)(r*2)));
	}
	public static void main(String args[]){
		Main m = new Main();
		m.circle();
	}
}