satisfies all the given condition