What is a number that is greater than 5 and less than 40, is not divisible by 2, the sum of it's digits is 7 and has exactly 3 factors?