New year chaos hackerrank solution. One person can bribe at most two others.