using System;
using System.Linq;
public class HelloWorld
{
public static void Main(string[] args)
{
string s = "AAABBBBBCCCCFFFFGGGGGDDDDJJJJJJ";
var newstr = String.Join("", s.Distinct());
Console.WriteLine (newstr);
}
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)