add solution of advance1