Help me in solving LB02B problem

My issue

unable to approach

Learning course: Python for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone

@roshni_403
The logic is when the number of legs is divisible by both chicken legs and duck legs then print any .
else if it is divisible by only chicken then print chicken.
else if it is divisible by only ducks then pint ducks.
else print none.