Help me in solving LB02B problem

My issue

Don’t understand problem

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

@dhananjaymalli
The logic is if z%x==0 and z%y==0 then print any.
if only z%x==0 then print chicken.
if only z%y==0 then print duck.
else print none.