The beginning balance of a credit card account is $500 the monthly interest rate is 0.012 if a payment of $100 is made on the last day of the month what is the ending balance?