Task: Question Answering
Input (English): Problem: in a group of ducks and cows , the total number of legs are 40 more than twice the number of heads . find the total number of cows .
Output (English): 2