void main(){ import std.stdio, std.string, std.conv, std.algorithm; import std.math; double a, b; rd(a); rd(b); writefln("%.10f", 2*PI*(a-b).abs); } void rd(T...)(ref T x){ import std.stdio, std.string, std.conv; auto l=readln.split; assert(l.length==x.length); foreach(i, ref e; x){ e=l[i].to!(typeof(e)); } } void wr(T...)(T x){ import std.stdio; foreach(e; x) stderr.write(e, " "); stderr.writeln; }