HONOLULU — U.S. Defense Secretary Jim Mattis said Friday that Olympics talks between North and South Korea should not distract from the internationally agreed goal of denuclearizing the North.

Mattis spoke during a photo session with South Korean Defense Minister Song Young-moo at U.S. Pacific Command headquarters.

Mattis welcomed the North-South talks but said a campaign of diplomatic pressure will continue unabated. He said North Korean leader Kim Jong Un should get the message that his nuclear and missile programs are unacceptable to the international community.

Get Breaking News Delivered to Your Inbox

"Diplomacy should impose reason on Kim's reckless rhetoric and dangerous provocations," Mattis said. "The international pressure campaign must continue."

North and South Korea agreed to form a joint Olympic team earlier in January. The two nations will march together in the PyeongChang opening ceremony and will form a joint team for the women's ice hockey event.

Song said the talks with the North are "about ultimately drawing the North into a dialogue with the United States."

South Korean Foreign Minister Kang Kyung-wha said at the World Economic Forum in Davos, Switzerland, this week that the idea of using military force to stop North Korea's nuclear program was "unacceptable."

Mattis praised South Korea's efforts to enforce U.N. sanctions against the North. He thanked Song's government for impounding two ships "that were found violating United Nations resolutions" against transfers of certain kinds of cargo. He did not elaborate.