score:6
As stated by Timatic, the database used by airlines, yes, you can do this, if and only if the return flight is not to the same country that you flew to Beijing from.
For example, Vilnius-Moscow-Beijing and Beijing-Kiev-Vilnius is OK, but Vilnius-Moscow-Beijing and Beijing-St Petersburg-Vilnius is not