What exactly is the problem with this?

The script is pretty self-explanatory.
_________________________
There are two types of vessels, submarines and targets.