using System;
using System.Linq;
public class Test
{
public static void Main()
{
char[] a = new char[] { 'a', 'b', 'c', 'd' };
Console.WriteLine(string.Join("", a));
Console.WriteLine(string.Join("", a.Select(v => "-")));
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uTGlucTsKCnB1YmxpYyBjbGFzcyBUZXN0CnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKCQljaGFyW10gYSA9IG5ldyBjaGFyW10geyAnYScsICdiJywgJ2MnLCAnZCcgfTsKCQlDb25zb2xlLldyaXRlTGluZShzdHJpbmcuSm9pbigiIiwgYSkpOwoJCUNvbnNvbGUuV3JpdGVMaW5lKHN0cmluZy5Kb2luKCIiLCBhLlNlbGVjdCh2ID0+ICItIikpKTsKCX0KfQ==