Hoarding programming problems for you!

### Looking for good programming challenges?

Use the search below to find our solutions for selected questions!

# Crossword Puzzle challenge

Sharing is caring!

Problem statement
A $10 \times 10$ Crossword grid is provided to you, along with a set of words (or names of places) which need to be filled into the grid. The cells in the grid are initially, either + signs or - signs. Cells marked with a + have to be left as they are. Cells marked with a - need to be filled up with an appropriate character.

Input Format
The input contains $10$ lines, each with $10$ characters (which will be either + or - signs).
After this follows a set of words (typically nouns and names of places), separated by semi-colons (;).

Constraints
There will be no more than ten words. Words will only be composed of upper-case A-Z characters. There will be no punctuation (hyphen, dot, etc.) in the words.

Output Format
Position the words appropriately in the $10 \times 10$ grid, and then display the $10 \times 10$ grid as the output. So, your output will consist of $10$ lines with $10$ characters each.

Sample Input 0

Sample Output 0

Sample Input 1

Sample Output 1

Solution