import java.io.*;

class Main {
	public static void main(String[] args){
		double r, m, l;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String buf = br.readLine();
			
			m = 0; 
			l = 0;
			r = Double.parseDouble(buf);
			m = Math.PI*r*r;
			l = 2*Math.PI*r;
			
		System.out.printf("%f %f\n", m, l);			
		}catch(Exception e){
		}
	}
} import java.io.*; io.* java class Main {
	public static void main(String[] args){
		double r, m, l;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String buf = br.readLine();
			
			m = 0; 
			l = 0;
			r = Double.parseDouble(buf);
			m = Math.PI*r*r;
			l = 2*Math.PI*r;
			
		System.out.printf("%f %f\n", m, l);			
		}catch(Exception e){
		}
	}
} Main public static void main(String[] args){
		double r, m, l;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String buf = br.readLine();
			
			m = 0; 
			l = 0;
			r = Double.parseDouble(buf);
			m = Math.PI*r*r;
			l = 2*Math.PI*r;
			
		System.out.printf("%f %f\n", m, l);			
		}catch(Exception e){
		}
	} main {
		double r, m, l;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String buf = br.readLine();
			
			m = 0; 
			l = 0;
			r = Double.parseDouble(buf);
			m = Math.PI*r*r;
			l = 2*Math.PI*r;
			
		System.out.printf("%f %f\n", m, l);			
		}catch(Exception e){
		}
	} double r r m m l; l try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String buf = br.readLine();
			
			m = 0; 
			l = 0;
			r = Double.parseDouble(buf);
			m = Math.PI*r*r;
			l = 2*Math.PI*r;
			
		System.out.printf("%f %f\n", m, l);			
		}catch(Exception e){
		} catch(Exception e){
		} Exception e {
		} {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String buf = br.readLine();
			
			m = 0; 
			l = 0;
			r = Double.parseDouble(buf);
			m = Math.PI*r*r;
			l = 2*Math.PI*r;
			
		System.out.printf("%f %f\n", m, l);			
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String buf = br.readLine(); buf br.readLine() br.readLine br m = 0 m 0 l = 0 l 0 r = Double.parseDouble(buf) r Double.parseDouble(buf) Double.parseDouble Double buf m = Math.PI*r*r m Math.PI*r*r Math.PI*r*r Math.PI Math Math.PI r r l = 2*Math.PI*r l 2*Math.PI*r 2*Math.PI*r 2 Math.PI Math Math.PI r System.out.printf("%f %f\n", m, l) System.out.printf System.out System System.out "%f %f\n" m l String[] args args
import java.io.*;

class Main {
	public static void main(String[] args){
		double r, m, l;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String buf = br.readLine();
			
			m = 0; 
			l = 0;
			r = Double.parseDouble(buf);
			m = Math.PI*r*r;
			l = 2*Math.PI*r;
			
		System.out.printf("%f %f\n", m, l);			
		}catch(Exception e){
		}
	}
}