If p denotes the number of permutations of (x+3) things taken all at a time, q denotes the number of permutations of (x+1) things taken 11 at a time and r denotes denotes the number permutations of (x−10) things taken all at a time such that p=182qr, then the value of x is