import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;

class Main {
    private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    private static final DecimalFormat df = new DecimalFormat("0.########");
    public static void main(String[] Args) throws IOException {
        double r = Double.parseDouble(br.readLine());
        System.out.println(df.format(Math.PI*r*r)+" "+df.format(2.0*Math.PI*r));
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.text.DecimalFormat; DecimalFormat java.text class Main {
    private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    private static final DecimalFormat df = new DecimalFormat("0.########");
    public static void main(String[] Args) throws IOException {
        double r = Double.parseDouble(br.readLine());
        System.out.println(df.format(Math.PI*r*r)+" "+df.format(2.0*Math.PI*r));
    }
} Main private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) private static final DecimalFormat df = new DecimalFormat("0.########"); df new DecimalFormat("0.########") public static void main(String[] Args) throws IOException {
        double r = Double.parseDouble(br.readLine());
        System.out.println(df.format(Math.PI*r*r)+" "+df.format(2.0*Math.PI*r));
    } main {
        double r = Double.parseDouble(br.readLine());
        System.out.println(df.format(Math.PI*r*r)+" "+df.format(2.0*Math.PI*r));
    } double r = Double.parseDouble(br.readLine()); r Double.parseDouble(br.readLine()) Double.parseDouble Double br.readLine() br.readLine br System.out.println(df.format(Math.PI*r*r)+" "+df.format(2.0*Math.PI*r)) System.out.println System.out System System.out df.format(Math.PI*r*r)+" "+df.format(2.0*Math.PI*r) df.format(Math.PI*r*r)+" "+df.format(2.0*Math.PI*r) df.format(Math.PI*r*r) df.format df Math.PI*r*r Math.PI*r*r Math.PI Math Math.PI r r " " df.format(2.0*Math.PI*r) df.format df 2.0*Math.PI*r 2.0*Math.PI*r 2.0 Math.PI Math Math.PI r String[] Args Args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;

class Main {
    private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    private static final DecimalFormat df = new DecimalFormat("0.########");
    public static void main(String[] Args) throws IOException {
        double r = Double.parseDouble(br.readLine());
        System.out.println(df.format(Math.PI*r*r)+" "+df.format(2.0*Math.PI*r));
    }
}