import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner( System.in);	
		double r;

		r=kb.nextDouble();

		System.out.printf( "%f %f\n", r*r*Math.PI, r*2*Math.PI );	
	}
} import java.util.Scanner; Scanner java.util class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner( System.in);	
		double r;

		r=kb.nextDouble();

		System.out.printf( "%f %f\n", r*r*Math.PI, r*2*Math.PI );	
	}
} Main public static void main(String[] args) {
		Scanner kb = new Scanner( System.in);	
		double r;

		r=kb.nextDouble();

		System.out.printf( "%f %f\n", r*r*Math.PI, r*2*Math.PI );	
	} main {
		Scanner kb = new Scanner( System.in);	
		double r;

		r=kb.nextDouble();

		System.out.printf( "%f %f\n", r*r*Math.PI, r*2*Math.PI );	
	} Scanner kb = new Scanner( System.in); kb new Scanner( System.in) double r; r r=kb.nextDouble() r kb.nextDouble() kb.nextDouble kb System.out.printf( "%f %f\n", r*r*Math.PI, r*2*Math.PI ) System.out.printf System.out System System.out "%f %f\n" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI r*2*Math.PI r*2*Math.PI r 2 Math.PI Math Math.PI String[] args args
import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		Scanner kb = new Scanner( System.in);	
		double r;

		r=kb.nextDouble();

		System.out.printf( "%f %f\n", r*r*Math.PI, r*2*Math.PI );	
	}
}