using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program
{
static void Main(string[] args)
{
string[] curries = { "abc", "abcd", "ab" };
Console.WriteLine(curries.Aggregate((a, b) => a + " " + b));
}
}