-) Written as products of their prime factors, N = 2^px5^qx7^r and 500=2² × 5³.
The highest common factor of N and 500 is 2^2 x 5²
The lowest common multiple of N and 500 is 2^3 x 5³ x7.
Find p, q and r.