using System; using System.Linq; using System.Collections.Generic; class Program { static void Main(string[] args) { int total = int.Parse(Console.ReadLine()); long[] ary = Console.ReadLine().Split().Select(xx => long.Parse(xx)).ToArray(); List list = new List(); long m = ary[0]; foreach (long i in ary) { if (!list.Contains(i)) { list.Add(i); } else { list.Remove(i); } } Console.WriteLine(list.Count); Console.ReadLine(); } }