If the input string is empty, then the output string is empty. If the input array is empty, then the output string is empty.
_________________________
There are two types of vessels, submarines and targets.