import java.util.Scanner;

public class Main {


	public static void main(String[] args){

		
		Scanner scan = new Scanner(System.in);
		double dbl = Double.parseDouble(scan.next());
		
		
		double p = 3.141592653589;
		double m;
		double c;
		
		m = dbl*dbl*p;
		c = dbl*2*p;
		
		
		
		System.out.printf("%.5f %.5f",m,c);
		}
} import java.util.Scanner; Scanner java.util public class Main {


	public static void main(String[] args){

		
		Scanner scan = new Scanner(System.in);
		double dbl = Double.parseDouble(scan.next());
		
		
		double p = 3.141592653589;
		double m;
		double c;
		
		m = dbl*dbl*p;
		c = dbl*2*p;
		
		
		
		System.out.printf("%.5f %.5f",m,c);
		}
} Main public static void main(String[] args){

		
		Scanner scan = new Scanner(System.in);
		double dbl = Double.parseDouble(scan.next());
		
		
		double p = 3.141592653589;
		double m;
		double c;
		
		m = dbl*dbl*p;
		c = dbl*2*p;
		
		
		
		System.out.printf("%.5f %.5f",m,c);
		} main {

		
		Scanner scan = new Scanner(System.in);
		double dbl = Double.parseDouble(scan.next());
		
		
		double p = 3.141592653589;
		double m;
		double c;
		
		m = dbl*dbl*p;
		c = dbl*2*p;
		
		
		
		System.out.printf("%.5f %.5f",m,c);
		} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double dbl = Double.parseDouble(scan.next()); dbl Double.parseDouble(scan.next()) Double.parseDouble Double scan.next() scan.next scan double p = 3.141592653589; p 3.141592653589 double m; m double c; c m = dbl*dbl*p m dbl*dbl*p dbl*dbl*p dbl dbl p c = dbl*2*p c dbl*2*p dbl*2*p dbl 2 p System.out.printf("%.5f %.5f",m,c) System.out.printf System.out System System.out "%.5f %.5f" m c String[] args args public class Main {


	public static void main(String[] args){

		
		Scanner scan = new Scanner(System.in);
		double dbl = Double.parseDouble(scan.next());
		
		
		double p = 3.141592653589;
		double m;
		double c;
		
		m = dbl*dbl*p;
		c = dbl*2*p;
		
		
		
		System.out.printf("%.5f %.5f",m,c);
		}
} public class Main {


	public static void main(String[] args){

		
		Scanner scan = new Scanner(System.in);
		double dbl = Double.parseDouble(scan.next());
		
		
		double p = 3.141592653589;
		double m;
		double c;
		
		m = dbl*dbl*p;
		c = dbl*2*p;
		
		
		
		System.out.printf("%.5f %.5f",m,c);
		}
} Main
import java.util.Scanner;

public class Main {


	public static void main(String[] args){

		
		Scanner scan = new Scanner(System.in);
		double dbl = Double.parseDouble(scan.next());
		
		
		double p = 3.141592653589;
		double m;
		double c;
		
		m = dbl*dbl*p;
		c = dbl*2*p;
		
		
		
		System.out.printf("%.5f %.5f",m,c);
		}
}