what's the smallest amount of earnings when there are more than 18 wins and the rank is 2?
3580162.0