import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
double r=scan.nextDouble();
double S=Math.PI*r*r*1.0;
double d=2*Math.PI*r*1.0;
System.out.println(String.format("%5f",S)+" "+String.format("%5f",d));
}} import java.util.*; util.* java public class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
double r=scan.nextDouble();
double S=Math.PI*r*r*1.0;
double d=2*Math.PI*r*1.0;
System.out.println(String.format("%5f",S)+" "+String.format("%5f",d));
}} Main public static void main(String[] args){
Scanner scan=new Scanner(System.in);
double r=scan.nextDouble();
double S=Math.PI*r*r*1.0;
double d=2*Math.PI*r*1.0;
System.out.println(String.format("%5f",S)+" "+String.format("%5f",d));
} main {
Scanner scan=new Scanner(System.in);
double r=scan.nextDouble();
double S=Math.PI*r*r*1.0;
double d=2*Math.PI*r*1.0;
System.out.println(String.format("%5f",S)+" "+String.format("%5f",d));
} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) double r=scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double S=Math.PI*r*r*1.0; S Math.PI*r*r*1.0 r Math.PI*r*r*1.0 Math.PI Math Math.PI r r 1.0 double d=2*Math.PI*r*1.0; d 2*Math.PI*r*1.0 r 2*Math.PI*r*1.0 2 Math.PI Math Math.PI r 1.0 System.out.println(String.format("%5f",S)+" "+String.format("%5f",d)) System.out.println System.out System System.out String.format("%5f",S)+" "+String.format("%5f",d) String.format("%5f",S)+" "+String.format("%5f",d) String.format("%5f",S) String.format String "%5f" S " " String.format("%5f",d) String.format String "%5f" d String[] args args public class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
double r=scan.nextDouble();
double S=Math.PI*r*r*1.0;
double d=2*Math.PI*r*1.0;
System.out.println(String.format("%5f",S)+" "+String.format("%5f",d));
}} public class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
double r=scan.nextDouble();
double S=Math.PI*r*r*1.0;
double d=2*Math.PI*r*1.0;
System.out.println(String.format("%5f",S)+" "+String.format("%5f",d));
}} Main
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
double r=scan.nextDouble();
double S=Math.PI*r*r*1.0;
double d=2*Math.PI*r*1.0;
System.out.println(String.format("%5f",S)+" "+String.format("%5f",d));
}}