Distinct prime numbers $p,q,r$ satisfy the equation $$2pqr+50pq=7pqr+55pr=8pqr+12qr=A$$ for some positive integer $A.$ What is $A$?

Let's think step by step and output the final answer within \boxed{}.
user