completed solver
deleted comment