Of course. Country A is Serbia and country B is Montenegro.
In fact, i am not trying to avoud paying the taxes. I am trying to avoid paying social contributions on that income, as i am already paying in Serbia for that. But i can spend some time yearly in Montenegro (i have license for temporary...