A factory produces rattles shaped in the form of a ring with 3 red and 7 blue spherical beads on it. Two rattles are said to be of the same type if one can be obtained from the other one by moving a bead along the ring or by flipping the ring over in space. How many different types of rattles can be manufactured?

Let's think step by step and output the final answer within \boxed{}.
user