On the first day, a patient takes one-third of all pills from a container. On the next day, the patient takes one-third of the pills that are left in the container. Altogether, he took 15 pills from the container.
How many pills were there where in the container, to begin with?