An IP router implementing CIDR services a packet with address 126.96.36.199.The routers routing table has the following entries
Prefix. Output interface identifier
The identifier of the output interface on which this packet will be forwarded is,.,........
Start with the longest prefix - /16
Subnet mask for it - 255.255.0.0
Start with the longest prefix
Subnet mask AND IP = Network ID
188.8.131.52 AND 255.255.0.0 = 184.108.40.206/16 (Not matched with 220.127.116.11/16 )
Next is /15
Subnet mask for it - 255.254.0.0
18.104.22.168 AND 255.254.0.0 = 22.214.171.124/15 (Matched)
So The identifier of the output interface on which this packet will be forwarded is 1 .