x = float('Inf')

if 999999999999>x:
    print("The number is greater than infinity!")
else:
    print("infinity is greatest")


y = float('-Inf')
if -999999999999<y:
    print("The number is lesser than negative infinity")
else:
    print("Negative infinity is least")