import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double Pai= Math.PI;
        double r = sc.nextDouble();
        double P = r*r*Pai;
        double E = 2*Pai*r;
        System.out.printf("%6f %6f",P,E);
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double Pai= Math.PI;
        double r = sc.nextDouble();
        double P = r*r*Pai;
        double E = 2*Pai*r;
        System.out.printf("%6f %6f",P,E);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double Pai= Math.PI;
        double r = sc.nextDouble();
        double P = r*r*Pai;
        double E = 2*Pai*r;
        System.out.printf("%6f %6f",P,E);
    } main {
        Scanner sc = new Scanner(System.in);
        double Pai= Math.PI;
        double r = sc.nextDouble();
        double P = r*r*Pai;
        double E = 2*Pai*r;
        System.out.printf("%6f %6f",P,E);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double Pai= Math.PI; Pai Math.PI Math Math.PI double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double P = r*r*Pai; P r*r*Pai r*r*Pai r r Pai double E = 2*Pai*r; E 2*Pai*r 2*Pai*r 2 Pai r System.out.printf("%6f %6f",P,E) System.out.printf System.out System System.out "%6f %6f" P E String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double Pai= Math.PI;
        double r = sc.nextDouble();
        double P = r*r*Pai;
        double E = 2*Pai*r;
        System.out.printf("%6f %6f",P,E);
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double Pai= Math.PI;
        double r = sc.nextDouble();
        double P = r*r*Pai;
        double E = 2*Pai*r;
        System.out.printf("%6f %6f",P,E);
    }
} Main
import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double Pai= Math.PI;
        double r = sc.nextDouble();
        double P = r*r*Pai;
        double E = 2*Pai*r;
        System.out.printf("%6f %6f",P,E);
    }
}