If you use math.floor() here, you can eliminate the -1 subtraction in the bottom two branches of the ```if``` below (but you'll have to change your upper bound to median+2, naturally).