When a subscription to a new magazine was purchased for m months, the publisher offered a discount of 75 percent off the regular monthly price of the magazine. If the total value of the discount was equivalent to buying the magazine at its regular monthly price for 27 months, what was the value of m ?