using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Program
{
    internal class Doboz
    {
        public string Type { get; set; }
        
        public Doboz Children = null;

        public Doboz Parent = null;

        public Doboz(string Type) { 
            this.Type = Type;
        }

        public void AddChildren(Doboz doboz)
        {
            doboz.Parent = this;
            this.Children = doboz;
        }
    }
}
