Take n random elements works