import java.util.Scanner;
class Main {
	public static void main(String[] args){
		Scanner cin = new Scanner(System.in);
		double r = cin.nextDouble();
		
		System.out.printf("%.6f %.6f\n", cal_area(r), cal_cirum(r));
	}
	
	private static double cal_area(double r){
		double pi = Math.PI;
		return (r * r * pi);
	}
	
	private static double cal_cirum(double r){
		double pi = Math.PI;
		return (2 * r * pi);
	}
} import java.util.Scanner; Scanner java.util class Main {
	public static void main(String[] args){
		Scanner cin = new Scanner(System.in);
		double r = cin.nextDouble();
		
		System.out.printf("%.6f %.6f\n", cal_area(r), cal_cirum(r));
	}
	
	private static double cal_area(double r){
		double pi = Math.PI;
		return (r * r * pi);
	}
	
	private static double cal_cirum(double r){
		double pi = Math.PI;
		return (2 * r * pi);
	}
} Main public static void main(String[] args){
		Scanner cin = new Scanner(System.in);
		double r = cin.nextDouble();
		
		System.out.printf("%.6f %.6f\n", cal_area(r), cal_cirum(r));
	} main {
		Scanner cin = new Scanner(System.in);
		double r = cin.nextDouble();
		
		System.out.printf("%.6f %.6f\n", cal_area(r), cal_cirum(r));
	} Scanner cin = new Scanner(System.in); cin new Scanner(System.in) double r = cin.nextDouble(); r cin.nextDouble() cin.nextDouble cin System.out.printf("%.6f %.6f\n", cal_area(r), cal_cirum(r)) System.out.printf System.out System System.out "%.6f %.6f\n" cal_area(r) cal_area r cal_cirum(r) cal_cirum r String[] args args private static double cal_area(double r){
		double pi = Math.PI;
		return (r * r * pi);
	} cal_area {
		double pi = Math.PI;
		return (r * r * pi);
	} double pi = Math.PI; pi Math.PI Math Math.PI return (r * r * pi); (r * r * pi) r * r * pi r r pi double r r private static double cal_cirum(double r){
		double pi = Math.PI;
		return (2 * r * pi);
	} cal_cirum {
		double pi = Math.PI;
		return (2 * r * pi);
	} double pi = Math.PI; pi Math.PI Math Math.PI return (2 * r * pi); (2 * r * pi) 2 * r * pi 2 r pi double r r
import java.util.Scanner;
class Main {
	public static void main(String[] args){
		Scanner cin = new Scanner(System.in);
		double r = cin.nextDouble();
		
		System.out.printf("%.6f %.6f\n", cal_area(r), cal_cirum(r));
	}
	
	private static double cal_area(double r){
		double pi = Math.PI;
		return (r * r * pi);
	}
	
	private static double cal_cirum(double r){
		double pi = Math.PI;
		return (2 * r * pi);
	}
}