Mr and Mrs Rich opened a joint bank account. On Monday $800 was withdrawn. On Tuesday half of what was left was taken out. On Wednesday they deposited $1650. The account was closed on Friday when $2800 was withdrawn. How much was in the bank account before the first withdrawal?