HELP PLEASE!!!!!

In the case of Plessy v. Ferguson, what was decided by the Supreme Court?

Discrimination in public schools was illegal.
Blacks had the right to vote.
Segregation was legal.