import java.util.Scanner;
 
public class Main{
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        double inta = Double.parseDouble(str);
 
        System.out.printf("%f %f", inta*inta*Math.PI, inta*2*Math.PI );
 
    }
 
} import java.util.Scanner; Scanner java.util public class Main{
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        double inta = Double.parseDouble(str);
 
        System.out.printf("%f %f", inta*inta*Math.PI, inta*2*Math.PI );
 
    }
 
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        double inta = Double.parseDouble(str);
 
        System.out.printf("%f %f", inta*inta*Math.PI, inta*2*Math.PI );
 
    } main {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        double inta = Double.parseDouble(str);
 
        System.out.printf("%f %f", inta*inta*Math.PI, inta*2*Math.PI );
 
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String str = sc.nextLine(); str sc.nextLine() sc.nextLine sc double inta = Double.parseDouble(str); inta Double.parseDouble(str) Double.parseDouble Double str System.out.printf("%f %f", inta*inta*Math.PI, inta*2*Math.PI ) System.out.printf System.out System System.out "%f %f" inta*inta*Math.PI inta*inta*Math.PI inta inta Math.PI Math Math.PI inta*2*Math.PI inta*2*Math.PI inta 2 Math.PI Math Math.PI String[] args args public class Main{
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        double inta = Double.parseDouble(str);
 
        System.out.printf("%f %f", inta*inta*Math.PI, inta*2*Math.PI );
 
    }
 
} public class Main{
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        double inta = Double.parseDouble(str);
 
        System.out.printf("%f %f", inta*inta*Math.PI, inta*2*Math.PI );
 
    }
 
} Main
import java.util.Scanner;
 
public class Main{
 
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        double inta = Double.parseDouble(str);
 
        System.out.printf("%f %f", inta*inta*Math.PI, inta*2*Math.PI );
 
    }
 
}