import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan =new Scanner(System.in);
String R=scan.next();
double r=Double.parseDouble(R);
double a=r*r*3.141592653589;
double b=r*2.0*3.141592653589;
System.out.printf("%f %f\n",a,b);
}
} import java.util.Scanner; Scanner java.util class Main{
public static void main(String[] args){
Scanner scan =new Scanner(System.in);
String R=scan.next();
double r=Double.parseDouble(R);
double a=r*r*3.141592653589;
double b=r*2.0*3.141592653589;
System.out.printf("%f %f\n",a,b);
}
} Main public static void main(String[] args){
Scanner scan =new Scanner(System.in);
String R=scan.next();
double r=Double.parseDouble(R);
double a=r*r*3.141592653589;
double b=r*2.0*3.141592653589;
System.out.printf("%f %f\n",a,b);
} main {
Scanner scan =new Scanner(System.in);
String R=scan.next();
double r=Double.parseDouble(R);
double a=r*r*3.141592653589;
double b=r*2.0*3.141592653589;
System.out.printf("%f %f\n",a,b);
} Scanner scan =new Scanner(System.in); scan new Scanner(System.in) String R=scan.next(); R scan.next() scan.next scan double r=Double.parseDouble(R); r Double.parseDouble(R) Double.parseDouble Double R double a=r*r*3.141592653589; a r*r*3.141592653589 r*r*3.141592653589 r r 3.141592653589 double b=r*2.0*3.141592653589; b r*2.0*3.141592653589 r*2.0*3.141592653589 r 2.0 3.141592653589 System.out.printf("%f %f\n",a,b) System.out.printf System.out System System.out "%f %f\n" a b String[] args args
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan =new Scanner(System.in);
String R=scan.next();
double r=Double.parseDouble(R);
double a=r*r*3.141592653589;
double b=r*2.0*3.141592653589;
System.out.printf("%f %f\n",a,b);
}
}