import java.text.*;
import java.math.*;
import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 1;
		double[] num = new double[kaisu];

		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextDouble();
		}
		double pai = 3.14159265358979;
		double ensyu = pai * 2 * num[0];
		double menseki = num[0] * num[0] * pai;

		DecimalFormat df = new DecimalFormat();
		df.applyPattern("0");
		df.setMaximumFractionDigits(6);
		df.setMinimumFractionDigits(6);

		String e = df.format(ensyu);
		String m = df.format(menseki);
		System.out.println(m + " " + e);
	}
} import java.text.*; text.* java import java.math.*; math.* java import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 1;
		double[] num = new double[kaisu];

		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextDouble();
		}
		double pai = 3.14159265358979;
		double ensyu = pai * 2 * num[0];
		double menseki = num[0] * num[0] * pai;

		DecimalFormat df = new DecimalFormat();
		df.applyPattern("0");
		df.setMaximumFractionDigits(6);
		df.setMinimumFractionDigits(6);

		String e = df.format(ensyu);
		String m = df.format(menseki);
		System.out.println(m + " " + e);
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 1;
		double[] num = new double[kaisu];

		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextDouble();
		}
		double pai = 3.14159265358979;
		double ensyu = pai * 2 * num[0];
		double menseki = num[0] * num[0] * pai;

		DecimalFormat df = new DecimalFormat();
		df.applyPattern("0");
		df.setMaximumFractionDigits(6);
		df.setMinimumFractionDigits(6);

		String e = df.format(ensyu);
		String m = df.format(menseki);
		System.out.println(m + " " + e);
	} main {
		Scanner scan = new Scanner(System.in);
		int kaisu = 1;
		double[] num = new double[kaisu];

		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextDouble();
		}
		double pai = 3.14159265358979;
		double ensyu = pai * 2 * num[0];
		double menseki = num[0] * num[0] * pai;

		DecimalFormat df = new DecimalFormat();
		df.applyPattern("0");
		df.setMaximumFractionDigits(6);
		df.setMinimumFractionDigits(6);

		String e = df.format(ensyu);
		String m = df.format(menseki);
		System.out.println(m + " " + e);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int kaisu = 1; kaisu 1 double[] num = new double[kaisu]; num new double[kaisu] kaisu for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextDouble();
		} int i = 0; int i = 0; i 0 i < kaisu i kaisu i++ i++ i {
			num[i] = scan.nextDouble();
		} {
			num[i] = scan.nextDouble();
		} num[i] = scan.nextDouble() num[i] num i scan.nextDouble() scan.nextDouble scan double pai = 3.14159265358979; pai 3.14159265358979 double ensyu = pai * 2 * num[0]; ensyu pai * 2 * num[0] pai * 2 * num[0] pai 2 num[0] num 0 double menseki = num[0] * num[0] * pai; menseki num[0] * num[0] * pai num[0] * num[0] * pai num[0] num 0 num[0] num 0 pai DecimalFormat df = new DecimalFormat(); df new DecimalFormat() df.applyPattern("0") df.applyPattern df "0" df.setMaximumFractionDigits(6) df.setMaximumFractionDigits df 6 df.setMinimumFractionDigits(6) df.setMinimumFractionDigits df 6 String e = df.format(ensyu); e df.format(ensyu) df.format df ensyu String m = df.format(menseki); m df.format(menseki) df.format df menseki System.out.println(m + " " + e) System.out.println System.out System System.out m + " " + e m + " " + e m " " e String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 1;
		double[] num = new double[kaisu];

		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextDouble();
		}
		double pai = 3.14159265358979;
		double ensyu = pai * 2 * num[0];
		double menseki = num[0] * num[0] * pai;

		DecimalFormat df = new DecimalFormat();
		df.applyPattern("0");
		df.setMaximumFractionDigits(6);
		df.setMinimumFractionDigits(6);

		String e = df.format(ensyu);
		String m = df.format(menseki);
		System.out.println(m + " " + e);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 1;
		double[] num = new double[kaisu];

		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextDouble();
		}
		double pai = 3.14159265358979;
		double ensyu = pai * 2 * num[0];
		double menseki = num[0] * num[0] * pai;

		DecimalFormat df = new DecimalFormat();
		df.applyPattern("0");
		df.setMaximumFractionDigits(6);
		df.setMinimumFractionDigits(6);

		String e = df.format(ensyu);
		String m = df.format(menseki);
		System.out.println(m + " " + e);
	}
} Main
import java.text.*;
import java.math.*;
import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 1;
		double[] num = new double[kaisu];

		for(int i = 0; i < kaisu; i++) {
			num[i] = scan.nextDouble();
		}
		double pai = 3.14159265358979;
		double ensyu = pai * 2 * num[0];
		double menseki = num[0] * num[0] * pai;

		DecimalFormat df = new DecimalFormat();
		df.applyPattern("0");
		df.setMaximumFractionDigits(6);
		df.setMinimumFractionDigits(6);

		String e = df.format(ensyu);
		String m = df.format(menseki);
		System.out.println(m + " " + e);
	}
}