a = int(input())
if 1 <= a <= 100000:
if a % 2 == 0:
b = a / 2
c = a - b
else:
b = (a-1) / 2
c = a - b
print("{} {}".format(int(c),int(b)))
else:
pass
笨方法还挺管用😁
a = int(input())
if 1 <= a <= 100000:
if a % 2 == 0:
b = a / 2
c = a - b
else:
b = (a-1) / 2
c = a - b
print("{} {}".format(int(c),int(b)))
else:
pass
笨方法还挺管用😁