#C1049. Duplicate Characters
Duplicate Characters
Duplicate Characters
You are given a string ( s ) and must output a new string where every character in ( s ) is duplicated. For example, if ( s = \texttt{hello} ), the output should be ( \texttt{hheelllloo} ). The program should read from standard input (stdin) and write the result to standard output (stdout). Note that the input string will only consist of alphabetic characters and its length will be between 1 and 100, inclusive.
inputFormat
A single line containing the string ( s ).
outputFormat
A single line containing the resulting string after each character of ( s ) has been duplicated.## sample
hello
hheelllloo
</p>