using System;
public class Program
{
static void Main(string[] args)
Console.WriteLine("Input a string of numbers");
string digitstring = Console.ReadLine();
for (int i = 1; i < 10; i++)
int digitcounter = 0;
for (int j = 0; j < digitstring.Length;j++)
if (i == digitstring[j])
digitcounter++;
}
Console.WriteLine(i + " " + digitcounter);
Console.ReadLine();