// ITP_1_4-B

import java.util.Scanner;

class Main
{
	public static void main ( String[] args ) {
		Scanner sc = new Scanner ( System.in );
		

		final double PI = Math.PI;
		double r;
		double en_menseki;
		double en_shu;

		r = sc.nextDouble ();
		en_menseki = r * r * PI;
		en_shu = 2 * PI * r;

		System.out.println ( String.format ( "%.6f", en_menseki ) + " " + String.format ( "%.6f", en_shu ) );
	}
} import java.util.Scanner; Scanner java.util class Main
{
	public static void main ( String[] args ) {
		Scanner sc = new Scanner ( System.in );
		

		final double PI = Math.PI;
		double r;
		double en_menseki;
		double en_shu;

		r = sc.nextDouble ();
		en_menseki = r * r * PI;
		en_shu = 2 * PI * r;

		System.out.println ( String.format ( "%.6f", en_menseki ) + " " + String.format ( "%.6f", en_shu ) );
	}
} Main public static void main ( String[] args ) {
		Scanner sc = new Scanner ( System.in );
		

		final double PI = Math.PI;
		double r;
		double en_menseki;
		double en_shu;

		r = sc.nextDouble ();
		en_menseki = r * r * PI;
		en_shu = 2 * PI * r;

		System.out.println ( String.format ( "%.6f", en_menseki ) + " " + String.format ( "%.6f", en_shu ) );
	} main {
		Scanner sc = new Scanner ( System.in );
		

		final double PI = Math.PI;
		double r;
		double en_menseki;
		double en_shu;

		r = sc.nextDouble ();
		en_menseki = r * r * PI;
		en_shu = 2 * PI * r;

		System.out.println ( String.format ( "%.6f", en_menseki ) + " " + String.format ( "%.6f", en_shu ) );
	} Scanner sc = new Scanner ( System.in ); sc new Scanner ( System.in ) final double PI = Math.PI; PI Math.PI Math Math.PI double r; r double en_menseki; en_menseki double en_shu; en_shu r = sc.nextDouble () r sc.nextDouble () sc.nextDouble sc en_menseki = r * r * PI en_menseki r * r * PI r * r * PI r r PI en_shu = 2 * PI * r en_shu 2 * PI * r 2 * PI * r 2 PI r System.out.println ( String.format ( "%.6f", en_menseki ) + " " + String.format ( "%.6f", en_shu ) ) System.out.println System.out System System.out String.format ( "%.6f", en_menseki ) + " " + String.format ( "%.6f", en_shu ) String.format ( "%.6f", en_menseki ) + " " + String.format ( "%.6f", en_shu ) String.format ( "%.6f", en_menseki ) String.format String "%.6f" en_menseki " " String.format ( "%.6f", en_shu ) String.format String "%.6f" en_shu String[] args args
// ITP_1_4-B

import java.util.Scanner;

class Main
{
	public static void main ( String[] args ) {
		Scanner sc = new Scanner ( System.in );
		

		final double PI = Math.PI;
		double r;
		double en_menseki;
		double en_shu;

		r = sc.nextDouble ();
		en_menseki = r * r * PI;
		en_shu = 2 * PI * r;

		System.out.println ( String.format ( "%.6f", en_menseki ) + " " + String.format ( "%.6f", en_shu ) );
	}
}