Help me in solving LB02B problem

My issue

I did not understand the test cases here , how to know which one is to be included?

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

@bharat_gaur_04
The logic is if both z%x==0 and z%y==0 then the answer would be “any”.
If only z%x==0 then the answer would be “chicken” .
if only z%y==0 then the answer would be “duck”.
else it would be “none.”