
import java.text.DecimalFormat;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki = Math.PI * r * r;
		double enshu = Math.PI * 2 * r;
		DecimalFormat decimalFormat = new DecimalFormat("0.00000");
		System.out.println(decimalFormat.format(menseki) + " " + decimalFormat.format(enshu));
	}
} import java.text.DecimalFormat; DecimalFormat java.text import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki = Math.PI * r * r;
		double enshu = Math.PI * 2 * r;
		DecimalFormat decimalFormat = new DecimalFormat("0.00000");
		System.out.println(decimalFormat.format(menseki) + " " + decimalFormat.format(enshu));
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki = Math.PI * r * r;
		double enshu = Math.PI * 2 * r;
		DecimalFormat decimalFormat = new DecimalFormat("0.00000");
		System.out.println(decimalFormat.format(menseki) + " " + decimalFormat.format(enshu));
	} main {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki = Math.PI * r * r;
		double enshu = Math.PI * 2 * r;
		DecimalFormat decimalFormat = new DecimalFormat("0.00000");
		System.out.println(decimalFormat.format(menseki) + " " + decimalFormat.format(enshu));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double menseki = Math.PI * r * r; menseki Math.PI * r * r Math.PI * r * r Math.PI Math Math.PI r r double enshu = Math.PI * 2 * r; enshu Math.PI * 2 * r Math.PI * 2 * r Math.PI Math Math.PI 2 r DecimalFormat decimalFormat = new DecimalFormat("0.00000"); decimalFormat new DecimalFormat("0.00000") System.out.println(decimalFormat.format(menseki) + " " + decimalFormat.format(enshu)) System.out.println System.out System System.out decimalFormat.format(menseki) + " " + decimalFormat.format(enshu) decimalFormat.format(menseki) + " " + decimalFormat.format(enshu) decimalFormat.format(menseki) decimalFormat.format decimalFormat menseki " " decimalFormat.format(enshu) decimalFormat.format decimalFormat enshu String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki = Math.PI * r * r;
		double enshu = Math.PI * 2 * r;
		DecimalFormat decimalFormat = new DecimalFormat("0.00000");
		System.out.println(decimalFormat.format(menseki) + " " + decimalFormat.format(enshu));
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki = Math.PI * r * r;
		double enshu = Math.PI * 2 * r;
		DecimalFormat decimalFormat = new DecimalFormat("0.00000");
		System.out.println(decimalFormat.format(menseki) + " " + decimalFormat.format(enshu));
	}
} Main

import java.text.DecimalFormat;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki = Math.PI * r * r;
		double enshu = Math.PI * 2 * r;
		DecimalFormat decimalFormat = new DecimalFormat("0.00000");
		System.out.println(decimalFormat.format(menseki) + " " + decimalFormat.format(enshu));
	}
}