Drunks Go Home

The objective of this puzzle is to clear men within the time required. If you slide a man horizontally or vertically, the men on the same line change position. And if there is a three match of the same men, they are cleared.