using System;
using System.Text.RegularExpressions;
namespace ConsoleApplication_C_Sharp
{
static class Program
{
static string TrimMultiSpaces(string s)
{
return Regex.Replace(s, @"^\s+", "");
}
static void Main(string[] args)
{
string s = " c# java c c++ python ";
s = TrimMultiSpaces(s);
Console.WriteLine("(" + s + ")");
}
}
}
/*
run:
(c# java c c++ python )
*/
/*
run:
c# java c c++ python
*/