LIMA, November 21. /TASS/. Russian President Vladimir Putin, who met with the outgoing US President Barack Obama on the sidelines of the APEC summit in Peru, thanked him for the years of joint work and invited him to visit Russia.

Putin told reporters about their conversation as he addressed a news conference in Lima on Sunday.

"President Obama and I said both of us always treated each other's positions with respect, although the dialogue between our two countries was rather complicated and sometimes it was difficult to work with each other," Putin said.

"I thanked him for the years of joint work and said we would be glad to see him in Russia anytime if he found it possile or necessary or had a wish to go there," he said.