using System;
using System.Text.RegularExpressions;
class Program
{
static void Main() {
string s = "vb.net \r\n javascript php \r\n c \t\t c++ python \r\n c#";
s = s.Replace("\n", String.Empty);
s = s.Replace("\r", String.Empty);
s = s.Replace("\t", String.Empty);
s = Regex.Replace(s, " {2,}", " ");
s = s.Trim();
Console.Write(s);
}
}
/*
run:
vb.net javascript php c c++ python c#
*/