Work out your writing down allowances