Blue Rose.. u r wrong... remember... the person standing outside the line shuffles the hats b4 putting it on each ones head.. and throws the remaining two...

Some guys are here with the correct answer... so its solved..