Minor Tweaks for Competition

Used Absolute Values