using System;
using System.Text;
public class Program
{
public static void Main()
bool lastUp = true;
bool lastLowercased = false;
StringBuilder s = new StringBuilder("Unity3D");
for (int i = 0; i < s.Length; ++i)
char c = s[i];
bool up = Char.IsUpper(c);
if (!up && lastLowercased)
s[i] = Char.ToUpper(c);
}
if (up && lastUp)
s[i] = Char.ToLower(c);
if (i != 0) lastLowercased = true;
else
lastLowercased = false;
lastUp = up;
Console.WriteLine(s);