// Edgars Ševčuks pr7 1 uzd


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class program 
{
    static List<double> summa = new List<double>();
  static void Main() 
  {
    bool turpini = true;
    
    do
    {
        Console.Clear();
        Console.WriteLine("ievadiet skaitli");
        
        string izd = Console.ReadLine();
    
        double reikini;
        if (Double.TryParse(izd, out reikini))
        {
            summa.Add(reikini);
        }
            else
            {   
                string beigas = izd;
        

                    if (beigas== "")
                {
                    turpini = false;
                }
            }
    }
    
    
        while (turpini==true);
    
        foreach (int i in summa)
    {
        Console.WriteLine(i);
    }
    
    
    
    {
        
        //List<double> summa
    }
    
   //static FiltretIzdevumus();
   {
       
   }
  }
}
