Can Kick 3D

You have a limited amount of cannon balls to destroy the box or sphere structures. Can you destroy it without running out of balls?