072 inefficient solution