birthdaycomp search problem