using System;
using System.Linq;
namespace LogicalPrograms
{
class Program
static void Main(string[] args)
try{
string a = "binaryrepublik";
string b = string.Empty;
for (int i = 0; i < a.Length; i++)
if (!b.Contains(a[i]))
b = b + a[i];
}
Console.WriteLine(b);
catch(Exception e){
Console.WriteLine(e);