finished sample exam problem