import java.math.BigDecimal;
import java.util.Scanner;

class Main{
    public static void main(String args[]){

        Scanner sc = new Scanner(System.in);
        double  r  = sc.nextDouble();
        sc.close();
        
        double pi = Math.PI;
        double ci = 2*pi*r;
        double ar = pi*Math.pow(r,2);

        String circ = BigDecimal.valueOf(ci).toPlainString();
        String area = BigDecimal.valueOf(ar).toPlainString();
        
        System.out.println(new StringBuilder()
            .append(area).append(" ")
            .append(circ));
    }
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util class Main{
    public static void main(String args[]){

        Scanner sc = new Scanner(System.in);
        double  r  = sc.nextDouble();
        sc.close();
        
        double pi = Math.PI;
        double ci = 2*pi*r;
        double ar = pi*Math.pow(r,2);

        String circ = BigDecimal.valueOf(ci).toPlainString();
        String area = BigDecimal.valueOf(ar).toPlainString();
        
        System.out.println(new StringBuilder()
            .append(area).append(" ")
            .append(circ));
    }
} Main public static void main(String args[]){

        Scanner sc = new Scanner(System.in);
        double  r  = sc.nextDouble();
        sc.close();
        
        double pi = Math.PI;
        double ci = 2*pi*r;
        double ar = pi*Math.pow(r,2);

        String circ = BigDecimal.valueOf(ci).toPlainString();
        String area = BigDecimal.valueOf(ar).toPlainString();
        
        System.out.println(new StringBuilder()
            .append(area).append(" ")
            .append(circ));
    } main {

        Scanner sc = new Scanner(System.in);
        double  r  = sc.nextDouble();
        sc.close();
        
        double pi = Math.PI;
        double ci = 2*pi*r;
        double ar = pi*Math.pow(r,2);

        String circ = BigDecimal.valueOf(ci).toPlainString();
        String area = BigDecimal.valueOf(ar).toPlainString();
        
        System.out.println(new StringBuilder()
            .append(area).append(" ")
            .append(circ));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double  r  = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc sc.close() sc.close sc double pi = Math.PI; pi Math.PI Math Math.PI double ci = 2*pi*r; ci 2*pi*r 2*pi*r 2 pi r double ar = pi*Math.pow(r,2); ar pi*Math.pow(r,2) pi Math.pow(r,2) Math.pow Math r 2 String circ = BigDecimal.valueOf(ci).toPlainString(); circ BigDecimal.valueOf(ci).toPlainString() BigDecimal.valueOf(ci).toPlainString BigDecimal.valueOf(ci) BigDecimal.valueOf BigDecimal ci String area = BigDecimal.valueOf(ar).toPlainString(); area BigDecimal.valueOf(ar).toPlainString() BigDecimal.valueOf(ar).toPlainString BigDecimal.valueOf(ar) BigDecimal.valueOf BigDecimal ar System.out.println(new StringBuilder()
            .append(area).append(" ")
            .append(circ)) System.out.println System.out System System.out new StringBuilder()
            .append(area).append(" ")
            .append(circ) new StringBuilder()
            .append(area).append(" ")
            .append new StringBuilder()
            .append(area).append(" ") new StringBuilder()
            .append(area).append new StringBuilder()
            .append(area) new StringBuilder()
            .append new StringBuilder() area " " circ String args[] args
import java.math.BigDecimal;
import java.util.Scanner;

class Main{
    public static void main(String args[]){

        Scanner sc = new Scanner(System.in);
        double  r  = sc.nextDouble();
        sc.close();
        
        double pi = Math.PI;
        double ci = 2*pi*r;
        double ar = pi*Math.pow(r,2);

        String circ = BigDecimal.valueOf(ci).toPlainString();
        String area = BigDecimal.valueOf(ar).toPlainString();
        
        System.out.println(new StringBuilder()
            .append(area).append(" ")
            .append(circ));
    }
}