An analysis of an entity's P150,000 accounts receivable at year-end resulted in a P5,000 ending balance for its allowance for uncollectible accounts and a bad debt expense of P2,000. During the past year, recoveries on bad debts previously written off were correctly recorded at P500. If the beginning balance in the allowance for uncollectible accounts was P4,700, what was the amount of accounts receivable written off as uncollectible during the year?