using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Program
{
public static void Main()
List<int> a, b;
a = new List<int>(){0,1,2};
b = new List<int>(){0,2};
List<int> c = a.Intersect(b).ToList();
Console.WriteLine($"{c}");
}