LeRoy, Bernardo, and Claudia went on a week-long camping trip and agreed to share the costs equally. During the trip, each of them paid for various joint expenses. At the end of the trip, it turned out that LeRoy had paid X dollars, Bernardo had paid Y dollars, and Claudia had paid Z dollars, where . How many dollars must LeRoy give to Claudia so that the costs are equally shared among the three?