using System.Collections.Generic;
static public void Main()
string s = "aldshflasghdfasgfkhgasdfasdgvfyweofyewyrtyefgv";
Console.WriteLine(NewFun(s));
static int NewFun(string a)
var dic1 = new Dictionary<char, int>();
var dic2 = new List<int>();
for (int i = 0; i < a.Length; i++)
if (!dic1.ContainsKey(a[i]))