Mikulás distributes 53 candies into three bags, making sure that each bag contains a different number of candies and that any two bags together contain more than the third one. In how many ways can he do this?