import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = Double.parseDouble(sc.next());

		double s = Math.PI * r * r;
		double l = 2 * Math.PI * r;

		System.out.print(String.format("%.06f %.06f",s,l));
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = Double.parseDouble(sc.next());

		double s = Math.PI * r * r;
		double l = 2 * Math.PI * r;

		System.out.print(String.format("%.06f %.06f",s,l));
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = Double.parseDouble(sc.next());

		double s = Math.PI * r * r;
		double l = 2 * Math.PI * r;

		System.out.print(String.format("%.06f %.06f",s,l));
	} main {
		Scanner sc = new Scanner(System.in);
		double r = Double.parseDouble(sc.next());

		double s = Math.PI * r * r;
		double l = 2 * Math.PI * r;

		System.out.print(String.format("%.06f %.06f",s,l));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = Double.parseDouble(sc.next()); r Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc double s = Math.PI * r * r; s Math.PI * r * r Math.PI * r * r Math.PI Math Math.PI r r double l = 2 * Math.PI * r; l 2 * Math.PI * r 2 * Math.PI * r 2 Math.PI Math Math.PI r System.out.print(String.format("%.06f %.06f",s,l)) System.out.print System.out System System.out String.format("%.06f %.06f",s,l) String.format String "%.06f %.06f" s l String[] args args public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = Double.parseDouble(sc.next());

		double s = Math.PI * r * r;
		double l = 2 * Math.PI * r;

		System.out.print(String.format("%.06f %.06f",s,l));
	}
} public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = Double.parseDouble(sc.next());

		double s = Math.PI * r * r;
		double l = 2 * Math.PI * r;

		System.out.print(String.format("%.06f %.06f",s,l));
	}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = Double.parseDouble(sc.next());

		double s = Math.PI * r * r;
		double l = 2 * Math.PI * r;

		System.out.print(String.format("%.06f %.06f",s,l));
	}
}