import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		BigDecimal r = new BigDecimal(scan.nextDouble());
		scan.close();
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal area = r.multiply(r).multiply(pi);
		BigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);
		System.out.println(area + " " + length);
	}
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		BigDecimal r = new BigDecimal(scan.nextDouble());
		scan.close();
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal area = r.multiply(r).multiply(pi);
		BigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);
		System.out.println(area + " " + length);
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		BigDecimal r = new BigDecimal(scan.nextDouble());
		scan.close();
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal area = r.multiply(r).multiply(pi);
		BigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);
		System.out.println(area + " " + length);
	} main {
		Scanner scan = new Scanner(System.in);
		BigDecimal r = new BigDecimal(scan.nextDouble());
		scan.close();
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal area = r.multiply(r).multiply(pi);
		BigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);
		System.out.println(area + " " + length);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) BigDecimal r = new BigDecimal(scan.nextDouble()); r new BigDecimal(scan.nextDouble()) scan.close() scan.close scan BigDecimal pi = new BigDecimal(Math.PI); pi new BigDecimal(Math.PI) BigDecimal area = r.multiply(r).multiply(pi); area r.multiply(r).multiply(pi) r.multiply(r).multiply r.multiply(r) r.multiply r r pi BigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi); length r.multiply(new BigDecimal(2)).multiply(pi) r.multiply(new BigDecimal(2)).multiply r.multiply(new BigDecimal(2)) r.multiply r new BigDecimal(2) pi System.out.println(area + " " + length) System.out.println System.out System System.out area + " " + length area + " " + length area " " length String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		BigDecimal r = new BigDecimal(scan.nextDouble());
		scan.close();
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal area = r.multiply(r).multiply(pi);
		BigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);
		System.out.println(area + " " + length);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		BigDecimal r = new BigDecimal(scan.nextDouble());
		scan.close();
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal area = r.multiply(r).multiply(pi);
		BigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);
		System.out.println(area + " " + length);
	}
} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		BigDecimal r = new BigDecimal(scan.nextDouble());
		scan.close();
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal area = r.multiply(r).multiply(pi);
		BigDecimal length = r.multiply(new BigDecimal(2)).multiply(pi);
		System.out.println(area + " " + length);
	}
}