The ratio of green to red jelly beans in a jar is 4 to 6. If there are 28 green jelly beans, how many total green and red jelly beans would be in the jar?​