(1) The three inexperienced pilots were allowed to attack it , but they managed only to damage the bomber .
(2) The three inexperienced pilots were allowed to damage it , but only the bomber managed to attack .

Do these two sentences mean the same thing?

Available choices:
(1). no
(2). yes
(1).