import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class No89 { public static void main(String[] args) throws IOException{ //どんどんドーナツ String[] str = readStr(); double C = Double.parseDouble(str[0]),Rin = Double.parseDouble(str[1].split(" ")[0]) , Rout = Double.parseDouble(str[1].split(" ")[1]); double r = (Rout - Rin) / 2 , l = r * r * Math.PI * (Rin + r) * 2 * Math.PI; System.out.println(l * C); } public static String[] readStr() throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ArrayList list = new ArrayList<>(); do { list.add(br.readLine()); }while(br.ready()); br.close(); String[] text = new String[list.size()]; list.toArray(text); return text; } }