import math
try:
print(math.exp(999))
except OverflowError:
print("The number is too high")
except:
print("Something else went wrong")