There was a $25 discount on every purchase of $75 there was a 10% charge on shipping which was added before the discount and 20% sales tax after the discount was added. If john paid total $300, what was the original amount purchase if no sales tax was added per $75?