Stolen values from houses problem