Alice and Bob are playing a game called "Stone Game". Stone game is a two-player game. Let N be the total number of stones. In each turn, a player can remove either one stone or four stones. The player who picks the last stone, wins. They follow the "Ladies First" norm. Hence Alice is always the one to make the first move. Your task is to find out whether Alice can win, if both play the game optimally.
First line starts with T, which is the number of test cases. Each test case will contain N number of stones.
Print "Yes" in the case Alice wins, else print "No".
Dread it, run from it, the end of summer arrives all the same. And now it's here. It’s finally August.…
APPROVED BY CLIENTS
It took some time for AssignmentExpert to find an Expert to assist on this Assignment and ao I needed to pay another two organisations to assist. The end result was I paid three times for the one piece of work. I was very happy with the response I received from Assignment Expert and would like to use you again for another Assignment this coming week. However, you must assure me you will respond much more quickly and obtain a quote from the same person who performed the last piece of work. Will you please promise me that will be the case?