Mrs. Chen bought 3 boxes of chocolate from a shop. She paid RM50 and received RM8 change. How much is the cost of a box of chocolates?​