AC solution majority element