algo s07 end of ex2