John-Li/my_programs — comment on commit 60f8fadad819d1ee59bf967f4718e1a3c00a715a
File:  line 0
By gmile:

You can do a one-liner here. Just look at `inject`... Figure what condition should be added there.