Sentence 1: Johnson allowed the three inexperienced pilots to damage it , but they only managed to attack the bomber .
Sentence 2: The three inexperienced pilots were allowed to damage it , but they managed only to attack the bomber .
Question: Do Sentence 1 and Sentence 2 express the same meaning? Yes or No?