Solved MAJ (majority element)