add cows problem