In a box, there are two types of marbles: red and blue. There are a total of 36 marbles in the box. If three times the number of red marbles equals twice the number of blue marbles, how many red marbles are in the box?