Prajakta has a certain number of chocolates; she gave one-third of the chocolates to her brother Arjun, one-sixth to her friend Preeti. She was then left with 30 chocolates. What is the sum of the number of chocolates that she gave to Arjun and Preeti?