In an arithmetic progression, the fourth term is 8 and the sum of 12 terms is 156. Find the value of 'p' if the p th term is 1000.