import sequtils,strutils,math var a : float64 = stdin.readline.parsefloat b : float64 = stdin.readline.parsefloat echo ((b - a) * 2.0 * PI)