solve 0+8+5+5+12+w+w/1.2+w/1.4+w/1.8=320