If r is the remainder when the positive integer n is divided by 7, what is the value of r?
(1) When n is divided by 21, the remainder is an odd number.
(2) When n is divided by 28, the remainder is 3.