Consist OF: to be composed or made up
Breakfast consisted of cereal, milk, and fruit.
The team consists of five players.
The Sherlock Holmes game consists of 16 cases, solved in 25 minutes each.
Consist IN something: to have something as a main and necessary part or quality/Have (something) as an essential or the main feature.
Happiness consists in being satisfied with what you have.
For her, happiness consists in watching television and reading magazines.
The problem consists in his failure to cooperate.
The secret to a successful relationship consists in knowing that a crisis doesn’t mean everything is over.