hi friend..

The man 1 will shout because he is able to view 2 and third persons hat.. if he shouts others can identify the order of hats

Thanks
Deepasree