Read a number n, then read n words (one per line). Print all the words joined together with dashes - between them.
n
-
Example:
Input:
3 red green blue
Output:
red-green-blue