(CNN) -- Chinese Premier Wen Jiabao completed a three-day visit to North Korea Tuesday, in which the reclusive nation indicated it was willing to participate in bilateral talks with the United States and return to six-party talks over its nuclear program, China's Xinhua news agency reported.
Wen left Pyonyang for home Tuesday morning.
The continued shift in attitude by North Korea -- which pulled out of the talks in April in protest of the United Nations' condemnation over its nuclear test and missile launches -- came during Wen's weekend meetings with Kim, Xinhua reported.
The communist country also expressed similar openness to talks last month after Kim met with Chinese special envoy Dai Bingguo.
The six-party negotiations include the United States, South Korea, Japan, China and Russia.
In response to the reports about North Korea, State Department spokesman Ian Kelly said the United States "remains willing to engage North Korea bilaterally within the framework of the Six Party process to convince North Korea to take the path of complete denuclearization."
Pyongyang recently invited the Obama administration's special envoy for North Korea to visit. And in August, North Korean diplomats traveled to New Mexico to meet with Gov. Bill Richardson, where they were open to direct bilateral talks with the United States.
Still, in a September letter to the United Nations, North Korea announced that Pyongyang is "reprocessing of spent fuel rods is at its final phase and extracted plutonium is being weaponized," state media reported at the time.
North Korea could enter the final stage of uranium enrichment, it said in the letter to the president of the U.N. Security Council, according to state-run KCNA. When enriched to a high degree, uranium can be used as weapons-grade material. Plutonium can be used in atomic bombs.
Despite stating in the letter that they "totally reject" a Security Council resolution in June that demanded that the country no longer pursue nuclear weapons, the North Koreans said they are "prepared for both dialogue and sanctions," KCNA reported.