Always R will be executed 1st as S2=1. Then after that, 2 will be printed and S0 will become 1 by executing V(s0).
Then P will be executed as S0 is 1 . 0 is printed. S0 =0, S1=1, S2=0.
Next Q will be executed as S1 is 1 . 1 is printed. S0=0, S1=1, S2=0.
So after this only Q can be executed, resulting the pattern 201.