Whoever in example sentence
So the solution is to agree that whoever goes first will, for example, say "black" if he sees an odd number of black hats and "white" if he sees an even number of black hats.
More example sentences with word whoever
All example sentences