Scorching goIITian
1000/7 = 142.857142
142*7=994
So there are 142 numbers which give the remainder 1 when divided by 7.
Hence, P = 142/1000
= 71/500