import math
def f1(x):
return x + 1
def f2(x):
return -x + 1
# x^2 + y^2 = r^2 => y = sqrt(r^2 - x^2)
def c(x, r=1):
return -math.sqrt(r**2 - x**2)
x = float(input("Enter x: "))
y = float(input("Enter y: "))
if y <= f1(x) and y <= f2(x) and y >= c(x):
print("hit")
else:
print("missed")