The function works for all integers, but it is not defined for inputs outside of the range [-100, 100].
