function findNum

problem solved