Bessie and her cow friends are playing as their favorite cow superheroes. Calling a superhero into action takes a signal. Bessie drew a special signal on a sheet of paper of size M×N (1≤M≤10, 1≤N≤10), but the drawing is far too small. Bessie wants to enlarge the signal so that it is exactly K times bigger in each direction (1≤K≤10).
The signal consists only of the characters '.' and 'X'.