import math

a = float(input("Podaj bok kwadratu: "))

d = a * math.sqrt(2)

print(f"D = {d}")