Sen. Bernie Sanders burst out laughing and thanked President Trump for providing ammunition for the healthcare fight after Trump told Australian Prime Minister Malcolm Turnbull that his country has better healthcare than the U.S. does.

The moment happened during an interview on MSNBC. Host Chris Hayes showed Sanders a clip of Trump commenting on the U.S. healthcare system after House Republicans passed a bill to repeal and replace Obamacare.

"I shouldn't say this to our great gentleman and my friend from Australia," Trump said to Turnball sitting next to him, "because you have better healthcare than we do."

Sanders erupted in laughter, exclaiming loudly, "Oh, okay. Wait a minute. Wait a minute."

"The president has just said it. That's great. Let's take a look at the Australian healthcare system, and let's move," he said, referring to Australia's Medicare-for-all system is publicly funded.

Sanders has pushed for Medicare-for-all, single-payer healthcare system in the Senate, with no success.

"Maybe he wants to take a look at the Canadian healthcare system or systems throughout Europe. Thank you Mr. President," he added. Canada has a single-payer healthcare system and many European countries also have some form of universal healthcare.

"Let us move to a medicare for all system that does what every other major country does. Thank you, Mr. President. We'll quote you on the floor of the Senate," Sanders quipped.