A data set consists of 12 positive integers. The mean of these 12 integers is 30. If the two largest integers in the set are removed, the mean of the remaining 10 integers is 28. If the range of the original 12 integers is 40, what is the value of the smallest integer in the original data set?