import java.util.Scanner;

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

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		
		double men = r * r * Math.PI;
		double en = 2 * r * Math.PI;
		
		System.out.println(String.format("%f %f", men, en));
	}
}