Please help me with the below formula;

Say if

A1=Cat and B1=Rat and C2>=80

Then D2 should result the character "Y"
if any of the values are different then D2 should result the character "N"

I tried with the below formula in D2 but it results as "False" when I change the value in B1 as Dog rather than resulting a "N"
=IF(A2="Cat",IF(B2="Rat",IF(C2>=80,"Y","N")))

Thanks in advance!