b) 295: a-7 rest 1
389: a 8 rest 5
d) 863: n = 9 rest 8
670 : m = 7 rest 5