Group same actions with prefix numbers