 
 <prompt> Bob ti fi $2342339 lati ra awọn iwe lori 3 isẹlẹ lati ra awọn iwe. O le ra 100 awọn iwe fun $500. Nípa ní kí ni o le ra awọn iwe ni kọlẹjì? Ṣe igbimo Python.

```python
total_money = 2342339
books_price = 500
books_per_school = (total_money // 3) // books_price
print(books_per_school)
``` <response>: def solution():
    """Bob spends $27000 distributed between 3 schools to buy books.  He can buy 100 books for $500.  How many books can he buy per school?"""
    money_total = 2342339
    num_schools = 3
    money_per_school = money_total / num_schools
    books_per_school = money_per_school / 500 * 100
    result = books_per_school
    return result 