problems 1086, 1005