Help me in solving LBCV202A problem

My issue

how test case 1 exist none if there have 5 legs then 1 chiken and 1 duck exis??

My code

// Step 1: Read and understand the problem statement and sample test cases

// Click on 'Next' once you are ready to proceed.

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

@anjaliraj19
cozz it is said that in a farm there must exist only one kind of bird , which means both cann’t be present at the same time.