Andrew chooses a number from 1 to 100, and Mary also chooses a number from 1 to 100. (They may choose the same number.) It turns out that the product of their numbers is a mutliple of 3. In how many ways could Andrew and Mary have chosen their numbers?