if man 2 and man 3 are wearing same color hat man 1 will shout first!!!

if man 2 and man 3 are wearing different color hat man 1 will be silient from that man 2 will come to know they(man2 and man 3) both wear different color hat so man 2 will shout first!!!