Kimberly has more than 40 but less than 50 chocolate bars. If she puts them equally into bags of 7, she would be short of 4 chocolate bars. If she puts them equally into bags of 8, she would have 5 extra chocolate bars. How many chocolate bars does Kimberly have?
Multiples of 7: 28, 35, 42, 49, 56
Multiples of 7 (-4): 24, 31, 38, 45, 52
Multiples of 8: 32, 40, 48, 56
Multiples of 8 (+5): 37, 45, 53, 61
Common number more than 40 but less than 50: 45
Number of chocolate bars that Kimberly has = 45
Answer(s): 45