Exercise for calculate debt