#C8011. Repeat Characters

    ID: 51947 Type: Default 1000ms 256MiB

Repeat Characters

Repeat Characters

Given a string (s), create a new string where every character in (s) is repeated twice. For instance, if (s = "abcd"), the output should be "aabbccdd". The relationship between the lengths of the input and output strings can be expressed as: (\text{length}{output} = 2 \times \text{length}{input}).

inputFormat

Input is given on a single line containing the string (s). The string can be empty and may include letters, digits, and special characters.

outputFormat

Output the new string where every character from the input string is repeated twice.## sample

abcd
aabbccdd