If the month-end bank statement shows a balance of $36,000, outstanding checks are $12,000, a deposit of $4,000 was in transit at month end, and a check for $500 was erroneously charged by the bank against the account, what is the correct balance in the bank account at month end?
A. $43,500
B. $20,500
C. $28,500
D. $27,500