/* AIZU ITP1_4_A */
import java.io.*;

class Main
{
  public static void main(String[] args) throws IOException
  {
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      String str = br.readLine();
      double rad = Double.parseDouble(str); // input radius
      double space = rad * rad * Math.PI; // space
      double cirf = 2 * rad * Math.PI; //circumference

      System.out.printf("%.6f %.6f", space, cirf); //output
      System.out.println("");

    } catch (Exception e){ // error detection
      System.exit(-1);
    }
  }
} import java.io.*; io.* java class Main
{
  public static void main(String[] args) throws IOException
  {
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      String str = br.readLine();
      double rad = Double.parseDouble(str); // input radius
      double space = rad * rad * Math.PI; // space
      double cirf = 2 * rad * Math.PI; //circumference

      System.out.printf("%.6f %.6f", space, cirf); //output
      System.out.println("");

    } catch (Exception e){ // error detection
      System.exit(-1);
    }
  }
} Main public static void main(String[] args) throws IOException
  {
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      String str = br.readLine();
      double rad = Double.parseDouble(str); // input radius
      double space = rad * rad * Math.PI; // space
      double cirf = 2 * rad * Math.PI; //circumference

      System.out.printf("%.6f %.6f", space, cirf); //output
      System.out.println("");

    } catch (Exception e){ // error detection
      System.exit(-1);
    }
  } main {
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      String str = br.readLine();
      double rad = Double.parseDouble(str); // input radius
      double space = rad * rad * Math.PI; // space
      double cirf = 2 * rad * Math.PI; //circumference

      System.out.printf("%.6f %.6f", space, cirf); //output
      System.out.println("");

    } catch (Exception e){ // error detection
      System.exit(-1);
    }
  } try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      String str = br.readLine();
      double rad = Double.parseDouble(str); // input radius
      double space = rad * rad * Math.PI; // space
      double cirf = 2 * rad * Math.PI; //circumference

      System.out.printf("%.6f %.6f", space, cirf); //output
      System.out.println("");

    } catch (Exception e){ // error detection
      System.exit(-1);
    } catch (Exception e){ // error detection
      System.exit(-1);
    } Exception e { // error detection
      System.exit(-1);
    } System.exit(-1) System.exit System -1 1 {
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      String str = br.readLine();
      double rad = Double.parseDouble(str); // input radius
      double space = rad * rad * Math.PI; // space
      double cirf = 2 * rad * Math.PI; //circumference

      System.out.printf("%.6f %.6f", space, cirf); //output
      System.out.println("");

    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br double rad = Double.parseDouble(str); rad Double.parseDouble(str) Double.parseDouble Double str double space = rad * rad * Math.PI; space rad * rad * Math.PI rad * rad * Math.PI rad rad Math.PI Math Math.PI double cirf = 2 * rad * Math.PI; cirf 2 * rad * Math.PI 2 * rad * Math.PI 2 rad Math.PI Math Math.PI System.out.printf("%.6f %.6f", space, cirf) System.out.printf System.out System System.out "%.6f %.6f" space cirf System.out.println("") System.out.println System.out System System.out "" String[] args args
/* AIZU ITP1_4_A */
import java.io.*;

class Main
{
  public static void main(String[] args) throws IOException
  {
    try{
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

      String str = br.readLine();
      double rad = Double.parseDouble(str); // input radius
      double space = rad * rad * Math.PI; // space
      double cirf = 2 * rad * Math.PI; //circumference

      System.out.printf("%.6f %.6f", space, cirf); //output
      System.out.println("");

    } catch (Exception e){ // error detection
      System.exit(-1);
    }
  }
}