#220. 字符串插入分隔符

    ID: 220 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatWarmup-2gesp3字符串递归

字符串插入分隔符

String Separator

Background

Problem Description

Given a string, compute recursively a new string where all the adjacent characters are now separated by a "*".

Input Format

Input is given from standard input in the following format.

SS

Output Format

Output is printed to standard output in the following format.

The new string with '*' separators.

Sample

hello
h*e*l*l*o
abc
a*b*c
ab
a*b

Sample Explanation

For the input "hello\