fibs2 solution with hint