A restaurant offers a special discount to its customers. If a customer orders a meal costing $50, they receive a discount of 10%. After applying the discount, what is the final price that the customer has to pay for the meal?