#C12611. Double Each Character
Double Each Character
Double Each Character
Given a string, your task is to create a new string where every character from the original string is repeated twice. For example, if the input is hello
, the output should be hheelllloo
. This problem tests your ability to manipulate strings and handle input/output operations.
You need to read the input from standard input (stdin) and write the result to standard output (stdout).
inputFormat
The input consists of a single line containing a string, which can include letters, digits, punctuation, and spaces. The string length is at least 1 and up to 1000 characters.
outputFormat
Output the resulting string in which each character from the input is repeated twice. Ensure that no extra spaces or characters are added.
## samplehello
hheelllloo