A jar contained some blue, green and red marbles. At first, there were 1 1/2 times as many green marbles as blue marbles. For every 3 red marbles, there were 2 green marbles. 10 blue marbles were then added. As a result, 3/8 of the marbles in the jar were blue. How many red marbles were there at first?