import java.util.Scanner;
import java.lang.Math;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        double r = sc.nextDouble();

        String menseki = String.format("%.5f", r*r*Math.PI);
        String hankei = String.format("%.5f", 2*r*Math.PI);

        System.out.println(menseki+" "+hankei);
    }
} import java.util.Scanner; Scanner java.util import java.lang.Math; Math java.lang class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        double r = sc.nextDouble();

        String menseki = String.format("%.5f", r*r*Math.PI);
        String hankei = String.format("%.5f", 2*r*Math.PI);

        System.out.println(menseki+" "+hankei);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        double r = sc.nextDouble();

        String menseki = String.format("%.5f", r*r*Math.PI);
        String hankei = String.format("%.5f", 2*r*Math.PI);

        System.out.println(menseki+" "+hankei);
    } main {
        Scanner sc = new Scanner(System.in);

        double r = sc.nextDouble();

        String menseki = String.format("%.5f", r*r*Math.PI);
        String hankei = String.format("%.5f", 2*r*Math.PI);

        System.out.println(menseki+" "+hankei);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc String menseki = String.format("%.5f", r*r*Math.PI); menseki String.format("%.5f", r*r*Math.PI) String.format String "%.5f" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI String hankei = String.format("%.5f", 2*r*Math.PI); hankei String.format("%.5f", 2*r*Math.PI) String.format String "%.5f" 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI System.out.println(menseki+" "+hankei) System.out.println System.out System System.out menseki+" "+hankei menseki+" "+hankei menseki " " hankei String[] args args
import java.util.Scanner;
import java.lang.Math;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        double r = sc.nextDouble();

        String menseki = String.format("%.5f", r*r*Math.PI);
        String hankei = String.format("%.5f", 2*r*Math.PI);

        System.out.println(menseki+" "+hankei);
    }
}