public int getWinner(int[] events) {
		int[] data = new int[1000000001];
		int max = 0;
		int tmp = 0;
		for (int event : events) {
			data[event]++;
			if (max < data[event]) {
				max = data[event];
				tmp = event;
			}
		}

		return tmp;
	}