/*AOJ-ITP-4-2*/

/* ?????? r ???????????¢?????¨?????¨?????????????±???????????????°????????????????????????????????? */

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigDecimal;
 
public class Main {
    public static void main(String[] args) throws NumberFormatException, IOException {
 
       BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String st[] = br.readLine().split(" ");
        double r = Double.parseDouble(st[0]);
        if(!(0 < r && 10000 > r)){System.exit(1);}
        
        double circumference = Math.PI  * 2 * r;
        double circleArea = r * r * Math.PI;
        
        BigDecimal x = new BigDecimal(circumference);
        BigDecimal y = new BigDecimal(circleArea);
        //?°???°???5????????§?????????
        x = x.setScale(5, BigDecimal.ROUND_HALF_UP);
        y = y.setScale(5, BigDecimal.ROUND_HALF_UP);
        System.out.printf("%.5f %.5f",y,x);
        System.out.println();
    }
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz