Raskina I.V.

At the exchange office, two types of operations are carried out:

1) give 2 euros - get 3 dollars and a candy as a gift;
2) give 5 dollars - get 3 euros and a candy as a gift.

When the wealthy Pinocchio came to the exchange office, he only had dollars. When he left, he had fewer dollars, no euros appeared, but he received 50 candies. How much did such a "gift" cost Pinocchio in dollars?