I give these values(the same like you):
1
2
3
1
2
3
1
2
3
but I get the result player 3 winner