import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String r=br.readLine();
		double i=Double.parseDouble(r);
		double p =Math.PI;
		double s=i*i*p;
		double l=p*2*i;
		System.out.printf("%f %f",s,l);
	
	}
	} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main{
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String r=br.readLine();
		double i=Double.parseDouble(r);
		double p =Math.PI;
		double s=i*i*p;
		double l=p*2*i;
		System.out.printf("%f %f",s,l);
	
	}
	} Main public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String r=br.readLine();
		double i=Double.parseDouble(r);
		double p =Math.PI;
		double s=i*i*p;
		double l=p*2*i;
		System.out.printf("%f %f",s,l);
	
	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String r=br.readLine();
		double i=Double.parseDouble(r);
		double p =Math.PI;
		double s=i*i*p;
		double l=p*2*i;
		System.out.printf("%f %f",s,l);
	
	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String r=br.readLine(); r br.readLine() br.readLine br double i=Double.parseDouble(r); i Double.parseDouble(r) Double.parseDouble Double r double p =Math.PI; p Math.PI Math Math.PI double s=i*i*p; s i*i*p i*i*p i i p double l=p*2*i; l p*2*i p*2*i p 2 i System.out.printf("%f %f",s,l) System.out.printf System.out System System.out "%f %f" s l String[] args args public class Main{
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String r=br.readLine();
		double i=Double.parseDouble(r);
		double p =Math.PI;
		double s=i*i*p;
		double l=p*2*i;
		System.out.printf("%f %f",s,l);
	
	}
	} public class Main{
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String r=br.readLine();
		double i=Double.parseDouble(r);
		double p =Math.PI;
		double s=i*i*p;
		double l=p*2*i;
		System.out.printf("%f %f",s,l);
	
	}
	} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String r=br.readLine();
		double i=Double.parseDouble(r);
		double p =Math.PI;
		double s=i*i*p;
		double l=p*2*i;
		System.out.printf("%f %f",s,l);
	
	}
	}