A Neat Solution

 

neat-solution