# https://open.kattis.com/problems/areal
# 1s
# 1.5 Easy

# 28 chars
print(4*float(input())**0.5)
