The president said it's been a privilege to serve the nation for more than 50 years and marveled that, as he put it, a kid with a stutter from Scranton, Pennsylvania could reach the peak of American politics.