int num = 10203304506;
string n = num.ToString();
List<int> index = new List<int>;
foreach(char c int n)
{
_index = 0;
if(c == '0' && !index.Any())
{
_index += 1;
}
else if(c == '0')
{
index.Add(_index);
}
else
{
_index += 1;
}
}
for(int i = 0; i < index.Lenght - 1; i++)
{
Console.WriteLine(index[i]);
}