5. Inputing negative numbers now throws an exception