Both expressions are syntactically correct, although the first one is less efficient and more redundant.They are not identical though: the first expression will return ba in all cases except when the number of wins is 1, 3, 5 or 7.The second one will return ba in all cases except when the number of wins is 1, 3, 5, 7 or 9.If something is not working, try to analyse the logs and see where the error sits.