'''Create a function/method that takes a string and returns a string in which each character is repeated once

Input Format

A string from the user

Constraints

No

Output Format

String

Sample Input 0

string
Sample Output 0

ssttrriinngg
Sample Input 1

hello
Sample Output 1

hheelllloo
Sample Input 2

1234
Sample Output 2

11223344'''

#solution

def repeat(string):
    return ''.join(i+i for i in string)

print(repeat(input()))