import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;
import java.util.ArrayList;


class Main {
	public static void main(String[] args) throws IOException {
		DecimalFormat df1 = new DecimalFormat("0.000000");
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		double a = Double.parseDouble(ss[0]);
		System.out.print(df1.format((double)a*(double)a*Math.PI)+ " ");
		System.out.println(df1.format(2*(double)a*Math.PI));
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.text.DecimalFormat; DecimalFormat java.text import java.util.ArrayList; ArrayList java.util class Main {
	public static void main(String[] args) throws IOException {
		DecimalFormat df1 = new DecimalFormat("0.000000");
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		double a = Double.parseDouble(ss[0]);
		System.out.print(df1.format((double)a*(double)a*Math.PI)+ " ");
		System.out.println(df1.format(2*(double)a*Math.PI));
	}

} Main public static void main(String[] args) throws IOException {
		DecimalFormat df1 = new DecimalFormat("0.000000");
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		double a = Double.parseDouble(ss[0]);
		System.out.print(df1.format((double)a*(double)a*Math.PI)+ " ");
		System.out.println(df1.format(2*(double)a*Math.PI));
	} main {
		DecimalFormat df1 = new DecimalFormat("0.000000");
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		double a = Double.parseDouble(ss[0]);
		System.out.print(df1.format((double)a*(double)a*Math.PI)+ " ");
		System.out.println(df1.format(2*(double)a*Math.PI));
	} DecimalFormat df1 = new DecimalFormat("0.000000"); df1 new DecimalFormat("0.000000") BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String s = new String(in.readLine()); s new String(in.readLine()) String[] ss = s.split(" "); ss s.split(" ") s.split s " " double a = Double.parseDouble(ss[0]); a Double.parseDouble(ss[0]) Double.parseDouble Double ss[0] ss 0 System.out.print(df1.format((double)a*(double)a*Math.PI)+ " ") System.out.print System.out System System.out df1.format((double)a*(double)a*Math.PI)+ " " df1.format((double)a*(double)a*Math.PI) df1.format df1 (double)a*(double)a*Math.PI (double)a*(double)a*Math.PI (double)a (double)a Math.PI Math Math.PI " " System.out.println(df1.format(2*(double)a*Math.PI)) System.out.println System.out System System.out df1.format(2*(double)a*Math.PI) df1.format df1 2*(double)a*Math.PI 2*(double)a*Math.PI 2 (double)a Math.PI Math Math.PI String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;
import java.util.ArrayList;


class Main {
	public static void main(String[] args) throws IOException {
		DecimalFormat df1 = new DecimalFormat("0.000000");
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		String[] ss = s.split(" ");
		double a = Double.parseDouble(ss[0]);
		System.out.print(df1.format((double)a*(double)a*Math.PI)+ " ");
		System.out.println(df1.format(2*(double)a*Math.PI));
	}

}