import java.util.Scanner;
 
public class Main
{
 
    public static void main(String[] args)
    {
        Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double pai=3.141592653589;
double men =r*r*pai;
double naga= r*2*pai;

  System.out.println(String.format("%.6f", men)+" "+String.format("%.6f", naga));
}
}
 import java.util.Scanner; Scanner java.util public class Main
{
 
    public static void main(String[] args)
    {
        Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double pai=3.141592653589;
double men =r*r*pai;
double naga= r*2*pai;

  System.out.println(String.format("%.6f", men)+" "+String.format("%.6f", naga));
}
} Main public static void main(String[] args)
    {
        Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double pai=3.141592653589;
double men =r*r*pai;
double naga= r*2*pai;

  System.out.println(String.format("%.6f", men)+" "+String.format("%.6f", naga));
} main {
        Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double pai=3.141592653589;
double men =r*r*pai;
double naga= r*2*pai;

  System.out.println(String.format("%.6f", men)+" "+String.format("%.6f", naga));
} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double pai=3.141592653589; pai 3.141592653589 double men =r*r*pai; men r*r*pai r*r*pai r r pai double naga= r*2*pai; naga r*2*pai r*2*pai r 2 pai System.out.println(String.format("%.6f", men)+" "+String.format("%.6f", naga)) System.out.println System.out System System.out String.format("%.6f", men)+" "+String.format("%.6f", naga) String.format("%.6f", men)+" "+String.format("%.6f", naga) String.format("%.6f", men) String.format String "%.6f" men " " String.format("%.6f", naga) String.format String "%.6f" naga String[] args args public class Main
{
 
    public static void main(String[] args)
    {
        Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double pai=3.141592653589;
double men =r*r*pai;
double naga= r*2*pai;

  System.out.println(String.format("%.6f", men)+" "+String.format("%.6f", naga));
}
} public class Main
{
 
    public static void main(String[] args)
    {
        Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double pai=3.141592653589;
double men =r*r*pai;
double naga= r*2*pai;

  System.out.println(String.format("%.6f", men)+" "+String.format("%.6f", naga));
}
} Main
import java.util.Scanner;
 
public class Main
{
 
    public static void main(String[] args)
    {
        Scanner scan = new Scanner(System.in);
double r = scan.nextDouble();
double pai=3.141592653589;
double men =r*r*pai;
double naga= r*2*pai;

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

