Anja sells candy and cookies in her pastry shop. She sold a total of 40 products in one day. The price of the candy is 2 EUR each, and the price of the cookie is 4 EUR each. She earned € 100 that day. How many candies and how many cookies did she sell?