 
 <prompt> Mark na-achọ ihe ọzọ maka ihe ọzọ na-akpọ packs nke nkiri nkiri na-akpọ ha maka ike ibe. O na-achọ 3 packs na $1474391 kpee. O nwere ihe ọzọ nke mere $4000 na ihe ọzọ nke mere $1000. N'ime ihe ọzọ 30 nke mere $50 nke kpara. Kedu ihe ozo o nwere ike ike ya?

```python
cost_per_pack = 1474391
num_packs = 3
profit_per_pack = 4000 + 1000 + (30 * 50)

total_cost = cost_per_pack * num_packs
total_profit = (profit_per_pack * num_packs) - total_cost

print("Mark's profit is: $", total_profit)
``` <response>: def solution():
    """Mark na-achọ ihe ọ bụla nke nkọwa nke akwụkwọ mmadụ na-eme ha iji gbanwere.  O na-achọ 3 akwụkwọ maka $1800 nke ọnụ.  O na-agbasa 1 kaadị nke nwere ọrụ $4000 na kaadị ndị na-eme $1000.  Nke abụọ kaadị nwere ọrụ $50 nke ọnụ.  Kedu ihe oke ọ bụla o nwere ike iji gbanwere?"""
    packs_bought = 3
    pack_cost = 1474391
    total_cost = packs_bought * pack_cost
    card_worth_4000 = 4000
    card_worth_1000 = 1000
    cards_worth_50 = 30
    total_value = card_worth_4000 + card_worth_1000 + cards_worth_50 * 50
    profit = total_value - total_cost
    result = profit
    return result 