Mr. Tan had 100 fans for sale at RM50 each.In the first week, only 30% of the fans were sold. He decided to give a discount of 20% in the second week and
managed to sell all the remaining fans. Altogether he made a profit of RM800. Find the cost price of each fan.