According to the Seventeenth Amendment, who could elect senators?

voters in each state
the state legislatures
the president
the vice president