https://drawerrr.com/challenge#target-problem