using System;
public class Program
{
public static void Main()
Console.WriteLine("Hello World");
}
static Node RemoveDuplicate(Node lst)
Node p = lst;
Node lst1=null, p1=null,N;
while (p!=null)
if(!IsExist(lst1,p.GetValue()))
N=new Node(p.GetValue());
if(lst1==null)
lst1=N;
p1=N;
else
p1.SetNext(N);
p=p.GetNext();
return lst1;