Decision tree pretty much works.