Definition: You are given a math word problem and you are supposed to make use of mathematical concepts like probability, combinatorics, linear equations, sequences/series, or simple operators like addition, subtraction, division, or multiplication to answer the given question. Choose the best option from the 5 given options and report that option.
Input: Question: A bank issued credit card numbers and the corresponding PIN (Personal Identification Number). Both are 3-digit numbers up to 996. Pinaki was the last to get the credit card and so he had the last possible credit card number.
He was afraid of forgetting his PIN. He wrote down the number 124 in his diary to remember his PIN. He also wrote out the way to calculate 124 : "Multiply the card number by PIN. Divide the product by 997. The remainder is 124".
Once, Prafull saw his diary in which Pinaki wrote this number 124. Prafull did a lot of purchasing, as he now knows Pinaki's PIN. What is Pinaki's PIN?

 Option A: 874

 Option B: 875

 Option C: 876

 Option D: 877

 Option E: 873

Option E