Problem

Source: 2021 Czech-Polish-Slovak Match Junior, team p6 CPSJ

Tags: number theory, sum of digits



Let $s (n)$ denote the sum of digits of a positive integer $n$. Using six different digits, we formed three 2-digits $p, q, r$ such that $$p \cdot q \cdot s(r) = p\cdot s(q) \cdot r = s (p) \cdot q \cdot r.$$Find all such numbers $p, q, r$.