The regular monthly rent at the Empty Arms Apartments is $800 per month. If Andrew signs a one-year lease, the rent is reduced to $700 and the security deposit is also reduced from $500 to $300. The lease also states that if Andrew terminates the agreement prior to one year, he must repay the entire rent reduction and the balance of the security deposit. Suppose Andrew must move out at the beginning of the eighth month. What is the total amount he would owe the landlord, under the terms of the lease?