import java.util.Scanner;
class Main{
	public void Germany() {
		Scanner sc = new Scanner(System.in);
		double r,men,syu;
		double ens = 3.141592653589;
		r = sc.nextDouble();
		men = ens * (r * r);
		syu = 2 * ens * r;
		System.out.printf("%2.6f %2.6f",men,syu);
	}
	    public static void main(String[] args) {
	        new Main().Germany();
	    }
	} import java.util.Scanner; Scanner java.util class Main{
	public void Germany() {
		Scanner sc = new Scanner(System.in);
		double r,men,syu;
		double ens = 3.141592653589;
		r = sc.nextDouble();
		men = ens * (r * r);
		syu = 2 * ens * r;
		System.out.printf("%2.6f %2.6f",men,syu);
	}
	    public static void main(String[] args) {
	        new Main().Germany();
	    }
	} Main public void Germany() {
		Scanner sc = new Scanner(System.in);
		double r,men,syu;
		double ens = 3.141592653589;
		r = sc.nextDouble();
		men = ens * (r * r);
		syu = 2 * ens * r;
		System.out.printf("%2.6f %2.6f",men,syu);
	} Germany {
		Scanner sc = new Scanner(System.in);
		double r,men,syu;
		double ens = 3.141592653589;
		r = sc.nextDouble();
		men = ens * (r * r);
		syu = 2 * ens * r;
		System.out.printf("%2.6f %2.6f",men,syu);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r r men men syu; syu double ens = 3.141592653589; ens 3.141592653589 r = sc.nextDouble() r sc.nextDouble() sc.nextDouble sc men = ens * (r * r) men ens * (r * r) ens (r * r) r r syu = 2 * ens * r syu 2 * ens * r 2 * ens * r 2 ens r System.out.printf("%2.6f %2.6f",men,syu) System.out.printf System.out System System.out "%2.6f %2.6f" men syu public static void main(String[] args) {
	        new Main().Germany();
	    } main {
	        new Main().Germany();
	    } new Main().Germany() new Main().Germany new Main() String[] args args
import java.util.Scanner;
class Main{
	public void Germany() {
		Scanner sc = new Scanner(System.in);
		double r,men,syu;
		double ens = 3.141592653589;
		r = sc.nextDouble();
		men = ens * (r * r);
		syu = 2 * ens * r;
		System.out.printf("%2.6f %2.6f",men,syu);
	}
	    public static void main(String[] args) {
	        new Main().Germany();
	    }
	}