Can you solve this brain teaser?

How did they know ?