import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;

import static java.lang.Math.PI;

public class Main{
    public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		Double r = Double.parseDouble(line);
		System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util import static java.lang.Math.PI; import static java.lang.Math.PI; import static java.lang.Math.PI; public class Main{
    public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		Double r = Double.parseDouble(line);
		System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    }
} Main public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		Double r = Double.parseDouble(line);
		System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    } main {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		Double r = Double.parseDouble(line);
		System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    } try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		Double r = Double.parseDouble(line);
		System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	} Exception e {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	} System.out.println(Arrays.toString(e.getStackTrace())) System.out.println System.out System System.out Arrays.toString(e.getStackTrace()) Arrays.toString Arrays e.getStackTrace() e.getStackTrace e System.exit(0) System.exit System 0 {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		Double r = Double.parseDouble(line);
		System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
	    }
	    stdReader.close();
	} BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); stdReader new BufferedReader(new InputStreamReader(System.in)) String line; line while ((line = stdReader.readLine()) != null) {
		Double r = Double.parseDouble(line);
		System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
	    } (line = stdReader.readLine()) != null (line = stdReader.readLine()) line stdReader.readLine() stdReader.readLine stdReader null {
		Double r = Double.parseDouble(line);
		System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
	    } Double r = Double.parseDouble(line); r Double.parseDouble(line) Double.parseDouble Double line System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) ) System.out.println System.out System System.out String.format("%f %f", PI*r*r, 2*PI*r) String.format String "%f %f" PI*r*r PI*r*r PI r r 2*PI*r 2*PI*r 2 PI r stdReader.close() stdReader.close stdReader String[] args args public class Main{
    public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		Double r = Double.parseDouble(line);
		System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    }
} public class Main{
    public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		Double r = Double.parseDouble(line);
		System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;

import static java.lang.Math.PI;

public class Main{
    public static void main(String[] args) {
	try {
	    BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
	    String line;
	    while ((line = stdReader.readLine()) != null) {
		Double r = Double.parseDouble(line);
		System.out.println( String.format("%f %f", PI*r*r, 2*PI*r) );
	    }
	    stdReader.close();
	} catch (Exception e) {
	    System.out.println(Arrays.toString(e.getStackTrace()));
	    System.exit(0);
	}
    }
}