Which is better?

or

James Buchanan

US president

James Buchanan

Rutherford Birchard Hayes

US president

Rutherford Birchard Hayes