begin last problem of set 3