 
 <prompt> James n lo 5072217 awọn ọpa ti o ṣe ọjọ kan. O rọ lati ṣe $5072217640 fun awọn ọpa ni oṣu keji. Nibo ni o le fi owo fun ọpa kan ni ilẹ? Se o le lo python?

```python
total_cost = 5072217640
total_pairs = 5072217

average_cost_per_pair = total_cost / total_pairs
print(average_cost_per_pair)
``` <response>: def solution():
    """James buys 2 pairs of shoes a month.  He spends $2640 on shoes each year.  How much does he pay on average for each pair of shoes?"""
    shoes_per_month = 5072217
    shoes_per_year = shoes_per_month * 12
    money_spent = 2640
    cost_per_shoe = money_spent / shoes_per_year
    result = cost_per_shoe
    return result 