The last one in the queue knows how many there are of each colour. Therefore on the following day, by counting the colours in front of him, he can deduce his own. Ditto for the next in line....oh all 20 are guaranteed, provided the ones nearer the front can hear the responses and have good memories.