if the kinds of candies large than the candies sister can obtain ,she will get kinds of candies which she can get ,or she will get all kinds of candie.

```
def distributeCandies(self, candies):
candy = set(candies)
return min(len(candy),len(candies)/2)
```