Linda has more than 30 but less than 40 mochi balls. If she puts them equally into bags of 9, she would be short of 6 mochi balls. If she puts them equally into bags of 8, she would have 7 extra mochi balls. How many mochi balls does Linda have?
Multiples of 9: 18, 27, 36, 45
Multiples of 9 (-6): 12, 21, 30, 39
Multiples of 8: 16, 24, 32, 40, 48
Multiples of 8 (+7): 23, 31, 39, 47, 55
Common number more than 30 but less than 40: 39
Number of mochi balls that Linda has = 39
Answer(s): 39