Python:
# 1
x = int(input())
y = int(input())
if x <= y:
z = x + y
else:
z = 1 - x + y
print(z)
# 2
if x > 2:
print(y ** 0.5)
print(1/y)
Python:
# 1
x = int(input())
y = int(input())
if x <= y:
z = x + y
else:
z = 1 - x + y
print(z)
# 2
x = int(input())
y = int(input())
if x > 2:
print(y ** 0.5)
else:
print(1/y)