Find the smallest number such that it leaves a remainder of 2 when divided by 8 and leaves a remainder of 4 when divided by 5.
Multiples of 8: 8, 16, 24, 32, 40
Multiples of 5: 5, 10, 15, 20, 25, 30, 35, 40
Multiple of 8 (+2) : 10, 18, 26, 34, 42
Multiple of 5 (+4) : 9, 14, 19, 24, 29, 34, 39, 44
Smallest number: 34
Answer(s) : 34