On republic day, Surya sold two types of sweets: motis and rasgullas. Let z customers buy only motis, a customers buy only rasgullas, and v customers buy both. Surya gave a small tricolour badge to every customer who bought sweets.
How many badges did Surya give away that day?