Problem: Sara and Tara were two young girls who had a really bad handwriting.So they decided to write down a word. Being highly passionate about improving their handwriting as well using there creative mind, they also wrote down the same word again but this time  starting from the last letter to the first letter with the internal letters being separated by a dash '-'.When they both grew a little more older they decided to do the same on the computer but were unsuccessful.Thus they approached you for help to display it in the similar fashion via programming. Take care that the number of letters in the  word has  minimum 3 letters.
INPUT
First line contains the word given as input.
OUTPUT
The first line shows the original word.
The second line shows the word reversed and the internal letters separated by a dash '-'.

SAMPLE INPUT
Useful

SAMPLE OUTPUT
U-s-e-f-u-l
l-u-f-e-s-U

Solution (in PYTHON):

Solution:
s=raw_input()
if len(s)>=3:
	t=''
	for i in range(len(s)-1):
		t=t+s[i]+'-'
	t=t+s[len(s)-1]
	print t
	t=''
	s=s[::-1]
	for i in range(len(s)-1):
		t=t+s[i]+'-'
	t=t+s[len(s)-1]
	print t