Three numbers are chosen at random.

The middle number is 4 more than the smallest number.
The largest number is two times the smallest number.
The sum of the 3 numbers is 54.

What is the smallest number?