Farmer Bob have a big farm, where he growths chickens, rabbits and cows. It is very difficult to count the number of animals for each type manually, so he diceded to buy a system to do it. But he bought a cheap system that can count only total number of heads, total number of legs and total number of horns of animals on the farm.
Help Bob to figure out how many chickens, rabbits and cows does he have?

All chickens have 2 legs, 1 head and no horns; all rabbits have 4 legs, 1 head and no horns; all cows have 4 legs, 1 head and 2 horns.

Your task is to write a function 
```Python
get_animals_count(legs_number, heads_number, horns_number)
```
```Csharp
Dictionary get_animals_count(int legs_number, int heads_number, int horns_number)
```
, which returns a dictionary 
```python
{"rabbits" : rabbits_count, "chickens" : chickens_count, "cows" : cows_count}
``` 
```Csharp
new Dictionary(){{"rabbits", rabbits_count},{"chickens", chickens_count},{"cows", cows_count}}
```

Parameters `legs_number, heads_number, horns_number` are integer, all tests have valid input.

Example:

```python
get_animals_count(34, 11, 6); # Should return {"rabbits" : 3, "chickens" : 5, "cows" : 3}
get_animals_count(154, 42, 10); # Should return {"rabbits" : 30, "chickens" : 7, "cows" : 5}
```

```Csharp
get_animals_count(34, 11, 6); //Should return  Dictionary(){{"rabbits", 3},{"chickens", 5},{"cows", 3}}
get_animals_count(154, 42, 10); //Should return Dictionary(){{"rabbits", 30},{"chickens", 7},{"cows", 5}}
```

Difficulty: introductory

Starter code:

def get_animals_count(legs, heads, horns):
	

Solutions:
def get_animals_count(legs, heads, horns):
    cows = horns // 2
    rabbits = legs // 2 - cows - heads
    chickens = heads - cows - rabbits
    return dict(cows=cows, rabbits=rabbits, chickens=chickens)

def get_animals_count(ln, hn, horn):
    c,ln,hn = horn//2, ln - 2*horn, hn - horn//2
    return {"rabbits":(ln-2*hn)//2,"chickens":2*hn -ln//2,"cows":c}

def get_animals_count(legs, heads, horns):
    cows = horns // 2
    rabbits = (legs - 4 * cows) // 2 - (heads - cows)
    chickens = heads - cows - rabbits
    return {"rabbits": rabbits, "chickens": chickens, "cows": cows}

def get_animals_count(legs_number, heads_number, horns_number):
    cows = horns_number / 2
    legs_number -= cows * 4
    heads_number -= cows
    rabbits = (legs_number - 2 * heads_number) / 2
    chickens = heads_number - rabbits
    return { 'rabbits': rabbits, 'chickens': chickens, 'cows': cows }

def get_animals_count(legs, heads, horns):
    cows = horns / 2
    rabbits = legs / 2 - heads - cows
    chickens = heads - rabbits - cows
    return {"rabbits": rabbits, "chickens": chickens, "cows": cows}

def get_animals_count(legs, heads, horns):
    cows = horns // 2
    legs = (legs - cows * 4) // 2
    heads -= cows
    rabbits = legs - heads
    chickens = heads - rabbits
    return {'cows': cows, 'rabbits': rabbits, 'chickens': chickens}

import numpy as np

# legs: 2x + 4y + 4z = n(legs)
# heads: x + y + z = n(heads)
# horns: 2z = n(horns)
# where x, y, z: chickens, rabbits, cows
coefficients = np.array([[2, 4, 4], [1, 1, 1], [0, 0, 2]])

def get_animals_count(legs_number, heads_number, horns_number):
    dependents = np.array([legs_number, heads_number, horns_number])
    res = np.linalg.solve(coefficients, dependents)
    return dict(zip(["chickens", "rabbits", "cows"], (int(i) for i in res)))

def get_animals_count(l,he,ho):
    return {"rabbits":l//2-he-ho//2,"chickens":2*he-l//2,"cows":ho//2}

def get_animals_count(legs_number, heads_number, horns_number):
    return {
        'rabbits': (legs_number - 2 * heads_number - horns_number) // 2,
        'chickens': (4 * heads_number - legs_number) // 2,
        'cows': horns_number // 2
    }


def get_animals_count(legs_number, heads_number, horns_number):
    cows=horns_number//2
    legs_number-=cows*4
    heads_number-=cows
    rabbits=(legs_number-2*heads_number)//2
    chickens=heads_number-rabbits
    return {'rabbits':rabbits,'chickens':chickens,'cows':cows}