﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SortedStack
{
    class Node
    {
        public Node Next { get; set; }
        public Node Previous { get; set; }
        public int Data { get; set; }

        public Node(int data)
        {
            Next = null;
            Previous = null;
            Data = data;
        }
    }
}
