SRM 568 Div2 lv3 - Shuffle sort -  Combinations problem