If it's higher but not high enough: add 50. If it's lower but not low enough: subtract 50. Apply limits as needed. Should be random enough for OPs application.
If it's higher but not high enough: add 50. If it's lower but not low enough: subtract 50. Apply limits as needed. Should be random enough for OPs application.