Obama Tells the World Not to Prejudge Trump's Policies Before He Takes Office

President Obama was wrapping up his final international trip as president.

The statement was an indication of Obama’s role as so-called "Calmer-in-Chief" at this international summit, seeking to reassure leaders from around the globe about the transition to his successor, Donald Trump.

"Once you’re in the Oval Office, once you begin interacting with world leaders, once you see the complexities of the issues," he said, "that has a way of shaping your thinking and in some case modifying."

The Obama-Putin meeting was short and unplanned. After the two spoke for a few minutes, reporters heard Obama say, "OK" and the two men shook hands before the U.S. president walked to his seat.

The president would not confirm that Rogers would be let go, but did suggest he may restructure how the United States deals with cyber threats. Currently, the head of the NSA also oversees U.S. Cyber Command, which is in charge of defending military computer networks.

"It is true that we are exploring a range of options in terms of how we organize the mission that currently exists," Obama told reporters.

The leader of the host nation, Peru, made clear he was worried about Trump too. In an exclusive interview with ABC’s Linsey Davis, President of Peru Pedro Pablo Kuczynski said he warned Obama about the "thump of Trump."

"I had the feeling that Trump was doing fantastically well, considering his remarks and offensive comments," Kuczynski said. "In a normal situation, he should have collapsed in the polls, but that was telling me and others he was doing well.”

Kuczynski, whose wife Nancy is from Wisconsin, said another sign to him was how close the polls were in her home state and Pennsylvania, where they lived before he won the presidency of Peru. "I know those places and it tugs a little bit to your heart. It’s very interesting and it’s emotional."

Peru is the last stop on the President’s whirlwind world tour which started in Greece, stopped in Germany, and concluded in Peru.