How Economic Systems Allocate Resources Effectively