A jar contains chocolate candies. There are 12 red, 17 blue, 5 green and 6 orange. What is the probability of picking either a green or blue candy, replacing it and then picking an orange candy? Express the probability as a fraction in simplest form.