Return value according to MACs found