Just expanding slightly on what phantom says, for a number to leave a remainder of 3 when divided by 7, it must be (7-3), ie 4, lower than an exact multiple of 7 (so 3, 10, 17...); likewise for a number to leave a remainder of 4 when divided by 8, it must be (8-4), ie 4, lower than an exact multiple of 8 (so 4,12,20...); similarly for 9, to leave 5 the number must be (9-5) lower than an exact multiple of 9 (5,14, 23...)
The lowest number which leaves the required remainders is therefore (7x8x9) - (7-3) [or (8-4), or (9-5)]