Wendy has more than 40 but less than 50 sweets. If she puts them equally into bags of 8, she would be short of 5 sweets. If she puts them equally into bags of 5, she would have 3 extra sweets. How many sweets does Wendy have?
Multiples of 8: 32, 40, 48, 56
Multiples of 8 (-5): 27, 35, 43, 51
Multiples of 5: 25, 30, 35, 40, 45, 50, 55
Multiples of 5 (+3): 28, 33, 38, 43, 48, 53, 58
Common number more than 40 but less than 50: 43
Number of sweets that Wendy has = 43
Answer(s): 43