import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num = br.readLine();

		double dnum = Double.parseDouble(num);

		String s = String.format("%.5f", dnum*dnum*Math.PI);
		String s2 = String.format("%.5f", dnum*2*Math.PI);

		System.out.println(s+" "+s2);



	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num = br.readLine();

		double dnum = Double.parseDouble(num);

		String s = String.format("%.5f", dnum*dnum*Math.PI);
		String s2 = String.format("%.5f", dnum*2*Math.PI);

		System.out.println(s+" "+s2);



	}
} Main public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num = br.readLine();

		double dnum = Double.parseDouble(num);

		String s = String.format("%.5f", dnum*dnum*Math.PI);
		String s2 = String.format("%.5f", dnum*2*Math.PI);

		System.out.println(s+" "+s2);



	} main {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num = br.readLine();

		double dnum = Double.parseDouble(num);

		String s = String.format("%.5f", dnum*dnum*Math.PI);
		String s2 = String.format("%.5f", dnum*2*Math.PI);

		System.out.println(s+" "+s2);



	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String num = br.readLine(); num br.readLine() br.readLine br double dnum = Double.parseDouble(num); dnum Double.parseDouble(num) Double.parseDouble Double num String s = String.format("%.5f", dnum*dnum*Math.PI); s String.format("%.5f", dnum*dnum*Math.PI) String.format String "%.5f" dnum*dnum*Math.PI dnum*dnum*Math.PI dnum dnum Math.PI Math Math.PI String s2 = String.format("%.5f", dnum*2*Math.PI); s2 String.format("%.5f", dnum*2*Math.PI) String.format String "%.5f" dnum*2*Math.PI dnum*2*Math.PI dnum 2 Math.PI Math Math.PI System.out.println(s+" "+s2) System.out.println System.out System System.out s+" "+s2 s+" "+s2 s " " s2 String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String num = br.readLine();

		double dnum = Double.parseDouble(num);

		String s = String.format("%.5f", dnum*dnum*Math.PI);
		String s2 = String.format("%.5f", dnum*2*Math.PI);

		System.out.println(s+" "+s2);



	}
}