Emperor Akbar wanted to know the birth of his child but was 150 miles away from the palace. He asked his minister Birbal for a solution. Birbal instructed Akbar to post 150 soldiers at 1 km intervals, with instructions to beat a drum once for a male child and twice for a female. When Akbar heard a single drum beat, he was overjoyed to learn he had a son. Birbal's idea of using drum beats to communicate the child's gender was praised as a stroke of genius.