
import java.util.Scanner;
import java.text.DecimalFormat;
import java.math.RoundingMode;

public class Main {
	public static void main(String[] args){
		double r, m, s;
		DecimalFormat t = new DecimalFormat("0.000000");
		t.setRoundingMode(RoundingMode.HALF_UP);
		Scanner sc = new Scanner(System.in);
		r = sc.nextDouble();
		m = r * r * 3.141592653589;
		s = (r + r) * 3.141592653589;
		System.out.println(t.format(m) + " " + t.format(s));
	}
} import java.util.Scanner; Scanner java.util import java.text.DecimalFormat; DecimalFormat java.text import java.math.RoundingMode; RoundingMode java.math public class Main {
	public static void main(String[] args){
		double r, m, s;
		DecimalFormat t = new DecimalFormat("0.000000");
		t.setRoundingMode(RoundingMode.HALF_UP);
		Scanner sc = new Scanner(System.in);
		r = sc.nextDouble();
		m = r * r * 3.141592653589;
		s = (r + r) * 3.141592653589;
		System.out.println(t.format(m) + " " + t.format(s));
	}
} Main public static void main(String[] args){
		double r, m, s;
		DecimalFormat t = new DecimalFormat("0.000000");
		t.setRoundingMode(RoundingMode.HALF_UP);
		Scanner sc = new Scanner(System.in);
		r = sc.nextDouble();
		m = r * r * 3.141592653589;
		s = (r + r) * 3.141592653589;
		System.out.println(t.format(m) + " " + t.format(s));
	} main {
		double r, m, s;
		DecimalFormat t = new DecimalFormat("0.000000");
		t.setRoundingMode(RoundingMode.HALF_UP);
		Scanner sc = new Scanner(System.in);
		r = sc.nextDouble();
		m = r * r * 3.141592653589;
		s = (r + r) * 3.141592653589;
		System.out.println(t.format(m) + " " + t.format(s));
	} double r r m m s; s DecimalFormat t = new DecimalFormat("0.000000"); t new DecimalFormat("0.000000") t.setRoundingMode(RoundingMode.HALF_UP) t.setRoundingMode t RoundingMode.HALF_UP RoundingMode RoundingMode.HALF_UP Scanner sc = new Scanner(System.in); sc new Scanner(System.in) r = sc.nextDouble() r sc.nextDouble() sc.nextDouble sc m = r * r * 3.141592653589 m r * r * 3.141592653589 r * r * 3.141592653589 r r 3.141592653589 s = (r + r) * 3.141592653589 s (r + r) * 3.141592653589 (r + r) r r 3.141592653589 System.out.println(t.format(m) + " " + t.format(s)) System.out.println System.out System System.out t.format(m) + " " + t.format(s) t.format(m) + " " + t.format(s) t.format(m) t.format t m " " t.format(s) t.format t s String[] args args public class Main {
	public static void main(String[] args){
		double r, m, s;
		DecimalFormat t = new DecimalFormat("0.000000");
		t.setRoundingMode(RoundingMode.HALF_UP);
		Scanner sc = new Scanner(System.in);
		r = sc.nextDouble();
		m = r * r * 3.141592653589;
		s = (r + r) * 3.141592653589;
		System.out.println(t.format(m) + " " + t.format(s));
	}
} public class Main {
	public static void main(String[] args){
		double r, m, s;
		DecimalFormat t = new DecimalFormat("0.000000");
		t.setRoundingMode(RoundingMode.HALF_UP);
		Scanner sc = new Scanner(System.in);
		r = sc.nextDouble();
		m = r * r * 3.141592653589;
		s = (r + r) * 3.141592653589;
		System.out.println(t.format(m) + " " + t.format(s));
	}
} Main

import java.util.Scanner;
import java.text.DecimalFormat;
import java.math.RoundingMode;

public class Main {
	public static void main(String[] args){
		double r, m, s;
		DecimalFormat t = new DecimalFormat("0.000000");
		t.setRoundingMode(RoundingMode.HALF_UP);
		Scanner sc = new Scanner(System.in);
		r = sc.nextDouble();
		m = r * r * 3.141592653589;
		s = (r + r) * 3.141592653589;
		System.out.println(t.format(m) + " " + t.format(s));
	}
}