Condolence-Five
The Condolence Five is given to whom something bad has happened.
Ian's friend get dumped so Ian gave his friend a "Condolence-Five"
Condolence High Five
Condolence high fives are no different from ordinary high fives, except that they are offered in condolence rather than in celebration.
Ted had the most horrible date; because Barney could relate to his sadness, he offered Ted a Condolence High Five.