Help me in solving LB02B problem

My issue

i am not getting how to understand the problem…

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

@lokeshreddy938
if z%x==0 and z%y==0 print both.
if only z%x==0 chicken.
if only z%y==0 duck.
else print none.