To find ncr and npr