import java.util.Scanner;
public class Main {
	public static void main(String[] args)  {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki =r*r*3.1415926535897932384626433832795,enshu =r*2*3.1415926535897932384626433832795;
		System.out.printf("%.6f %.6f\n",menseki,enshu);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args)  {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki =r*r*3.1415926535897932384626433832795,enshu =r*2*3.1415926535897932384626433832795;
		System.out.printf("%.6f %.6f\n",menseki,enshu);
	}
} Main public static void main(String[] args)  {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki =r*r*3.1415926535897932384626433832795,enshu =r*2*3.1415926535897932384626433832795;
		System.out.printf("%.6f %.6f\n",menseki,enshu);
	} main {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki =r*r*3.1415926535897932384626433832795,enshu =r*2*3.1415926535897932384626433832795;
		System.out.printf("%.6f %.6f\n",menseki,enshu);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double menseki =r*r*3.1415926535897932384626433832795 menseki r*r*3.1415926535897932384626433832795 r*r*3.1415926535897932384626433832795 r r 3.1415926535897932384626433832795 enshu =r*2*3.1415926535897932384626433832795; enshu r*2*3.1415926535897932384626433832795 r*2*3.1415926535897932384626433832795 r 2 3.1415926535897932384626433832795 System.out.printf("%.6f %.6f\n",menseki,enshu) System.out.printf System.out System System.out "%.6f %.6f\n" menseki enshu String[] args args public class Main {
	public static void main(String[] args)  {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki =r*r*3.1415926535897932384626433832795,enshu =r*2*3.1415926535897932384626433832795;
		System.out.printf("%.6f %.6f\n",menseki,enshu);
	}
} public class Main {
	public static void main(String[] args)  {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki =r*r*3.1415926535897932384626433832795,enshu =r*2*3.1415926535897932384626433832795;
		System.out.printf("%.6f %.6f\n",menseki,enshu);
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args)  {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double menseki =r*r*3.1415926535897932384626433832795,enshu =r*2*3.1415926535897932384626433832795;
		System.out.printf("%.6f %.6f\n",menseki,enshu);
	}
}