Which of the following can vote on ratification of amendment to the U.S. Constitution?

president and vice president
state supreme courts
state legislatures
federal courts