Problem #PRU-79664

Problems Algebra and arithmetic Arithmetics. Mental maths

Problem

In a basket, there are 30 red and green apples. Among any 12 apples there is at least one red one, and among any 20 apples there is at least one green one. How many red apples and how many green apples are there in the basket?