#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <vector>
#include <set>
#include <cmath>
#include <map>
#define MAXSIZE 10007
using namespace std;

map<int, bool> mp;

int main() {
	int N;
	cin >> N;
	for (int i = 0; i < N; i++) {
		int t;
		cin >> t;
		mp[t] = !mp[t];
	}
	int ans = 0;
	for (auto it = mp.begin(); it != mp.end(); it++) {
		if (it->second == true) ans++;
	}
	cout << ans;
}