Automash
01

Input

02

Select Match

03

Output