How many legs are there in the Palace

Advertisement
You are standing in a palace in which the king has 5 wives (Queens)
To each Queen there are 5 rooms,
In each room there are 5 big cats,
and to each big cat there are 5 small cats.

My question is how many legs are there in the palace.

Click here for Answer

4(625+125)+2(1+1+5)=3000+14=3014