A produce store offers red and green apples. In one morning they sold 39 apples total, if 9 of the apples they sold were red, what is the ratio of green sold to red sold?