# 导入数学库
import math
# 返回第一个参数的值和第二个参数的符号
print(math.copysign(4, -1))
print(math.copysign(-8, 97.21))
print(math.copysign(-43, -76))