Text this: Discovering the composition of ancient cosmetics and remedies