Incomplete code for highest next number