The Hackerrank Solution For Between Two