A student brings whole cherry and cheese danishes to his class for his birthday. The number of cherry danishes he brings is at least 3 more than 2/3 the number of cheese danishes, but no more than twice the number of cheese danishes. Find the smallest possible value for the total number of danishes he brings