Tasks 1-6, 8 solved