Tag molding machine