What president served the two terms but not consecutively?

the answer to that question is Franklin Pierce.