import strutils, sequtils, stats, math let C = stdin.readLine.parseFloat let Rio = stdin.readLine.split.map(parseInt) let R = Rio.mean let r = (Rio.max - Rio.min) / 2 echo 2.0 * pow(PI, 2.0) * pow(r, 2.0) * R * C