Cow milking problem