using System;
class Program
{
static void Main()
string[] words = Console.ReadLine().Split();
string result = "";
foreach (string word in words)
int repeatCount = word.Length;
string repeatedWord = new string(word[0], repeatCount);
result += repeatedWord;
}
Console.WriteLine(result);