Roberta:
1. Friedrich did not minor in botany.
2. Either Gloria or myself or both took philosophy.
3. Both girls either majored or minored in botany.
Gloria:
1. Between them, Melrose and Roberta took all four classes.
2. I did not minor in botany.
3. Roberta is a Liar.
Melrose:
1. I majored or minored in math.
2. Friedrich is a Liar
3. Roberta majored in history.
Friedrich:
1. Melrose did not major or minor in math.
2. I majored or minored in philosophy
3. Gloria minored in math.
Which are the Liars and the Knights, and what did they major and minor in?