#299. 字符串字符重复

    ID: 299 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatString-2gesp1循环结构字符串

字符串字符重复

Double Char

Background

Congcong is recently studying a special text processing program. This program has an interesting feature: it can duplicate every character in an input string.

Problem Description

Given a string, return a new string where for every character in the original string, there are two characters.

Input Format

Input is given from Standard Input in the following format.

A string SS

Output Format

Output to Standard Output in the following format.

The processed string

Sample

The
TThhee
AAbb
AAAAbbbb
Hi-There
HHii--TThheerree

Sample Explanation

For the input string "The\