Calculate correct cogs and gross profit

Subject: Business    / Accounting
Question

BEGINNING INVENTORY=25,000

ENDING INVENTORY=61,600

SALES REVENUE=1,000,000

COGS=620,000

inventory at end was actually 65000

calculate correct cogs and gross profit