Solve it with 3 lines

2 secs 1024 MB
first_vil's icon first_vil