import java.awt.*;
import java.awt.geom.*;
import java.io.*;

import java.util.*;
class Main {


	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();

		System.out.printf("%.6f %.6f",r*r*Math.PI,2 * Math.PI*r);
	}
} import java.awt.*; awt.* java import java.awt.geom.*; geom.* java.awt import java.io.*; io.* java import java.util.*; util.* java class Main {


	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();

		System.out.printf("%.6f %.6f",r*r*Math.PI,2 * Math.PI*r);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();

		System.out.printf("%.6f %.6f",r*r*Math.PI,2 * Math.PI*r);
	} main {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();

		System.out.printf("%.6f %.6f",r*r*Math.PI,2 * Math.PI*r);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc System.out.printf("%.6f %.6f",r*r*Math.PI,2 * Math.PI*r) System.out.printf System.out System System.out "%.6f %.6f" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI 2 * Math.PI*r 2 * Math.PI*r 2 Math.PI Math Math.PI r String[] args args
import java.awt.*;
import java.awt.geom.*;
import java.io.*;

import java.util.*;
class Main {


	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();

		System.out.printf("%.6f %.6f",r*r*Math.PI,2 * Math.PI*r);
	}
}