import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
	// write your code here


        int R;
        System.out.print("R=");




Scanner scan = new Scanner(System.in);
 R=scan.nextInt();

System.out.println(R);



        double L;
        L=R*2*3.14;
        System.out.println(L);




    }
}
