Simplify solution 49