x = float(input())
y = 2 * x ** 2 - 7.0 / 2
print(y)
x = int(input())
if((x % 2 == 0) & (x > 0) & (x <= 100)):
print("да")
else:
print("нет")
x = float(input())
y = 2 * x ** 2 - 7.0 / 2
print(y)
x = int(input())
if((x % 2 == 0) & (x > 0) & (x <= 100)):
print("да")
else:
print("нет")