using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
string input = "abaccerddd";
//Put output here, please
// a - 2
// b - 1
// c - 2
// d - 3
// e - 1
// r - 1
}
/// <summary>
/// Get statistics of a string
/// </summary>
/// <param name="input">Just some string</param>
/// <returns>
/// Returns a dictionary with the number of occurrences of a character inside the `input` string
/// </returns>
/// <example>
/// ----------------------
/// input : aaabbccccccdd
///-----------------------
/// output:
/// {a, 3}
/// {b, 2}
/// {c, 5}
/// {d, 2}
/// -----------------------
/// </example>
private static IDictionary<char, uint> GetStringStats(string input)
throw new NotImplementedException("Not yet implemented");