Previous and next number

Sign in to test your solution.