x = int(input()) pi = 3.14159265358979 print(4 * x / pi)