A container has 1 pink block and 3 green blocks. Juan wants to make the probability of randomly selecting a black block equal to 50%. How many black blocks should he add?