majority element c