d

fg

Solution