
import java.util.*;
import java.text.*;

class Main{
public static void main(String[] args){
Scanner s = new Scanner(System.in);
	  double r = s.nextDouble();
	  double m = r*r*3.14159265359;
	  double n = 2*r*3.14159265359;
	  DecimalFormat fm = new DecimalFormat("#.######");
      System.out.println(fm.format(m)+" "+fm.format(n));
	 }
	} import java.util.*; util.* java import java.text.*; text.* java class Main{
public static void main(String[] args){
Scanner s = new Scanner(System.in);
	  double r = s.nextDouble();
	  double m = r*r*3.14159265359;
	  double n = 2*r*3.14159265359;
	  DecimalFormat fm = new DecimalFormat("#.######");
      System.out.println(fm.format(m)+" "+fm.format(n));
	 }
	} Main public static void main(String[] args){
Scanner s = new Scanner(System.in);
	  double r = s.nextDouble();
	  double m = r*r*3.14159265359;
	  double n = 2*r*3.14159265359;
	  DecimalFormat fm = new DecimalFormat("#.######");
      System.out.println(fm.format(m)+" "+fm.format(n));
	 } main {
Scanner s = new Scanner(System.in);
	  double r = s.nextDouble();
	  double m = r*r*3.14159265359;
	  double n = 2*r*3.14159265359;
	  DecimalFormat fm = new DecimalFormat("#.######");
      System.out.println(fm.format(m)+" "+fm.format(n));
	 } Scanner s = new Scanner(System.in); s new Scanner(System.in) double r = s.nextDouble(); r s.nextDouble() s.nextDouble s double m = r*r*3.14159265359; m r*r*3.14159265359 r*r*3.14159265359 r r 3.14159265359 double n = 2*r*3.14159265359; n 2*r*3.14159265359 2*r*3.14159265359 2 r 3.14159265359 DecimalFormat fm = new DecimalFormat("#.######"); fm new DecimalFormat("#.######") System.out.println(fm.format(m)+" "+fm.format(n)) System.out.println System.out System System.out fm.format(m)+" "+fm.format(n) fm.format(m)+" "+fm.format(n) fm.format(m) fm.format fm m " " fm.format(n) fm.format fm n String[] args args

import java.util.*;
import java.text.*;

class Main{
public static void main(String[] args){
Scanner s = new Scanner(System.in);
	  double r = s.nextDouble();
	  double m = r*r*3.14159265359;
	  double n = 2*r*3.14159265359;
	  DecimalFormat fm = new DecimalFormat("#.######");
      System.out.println(fm.format(m)+" "+fm.format(n));
	 }
	}