#!/usr/bin/python3 import sys for i in sys.stdin.readlines(): for j in i: sys.stdout.write(j + j)