Pencils puzzle is a geometric-based logic puzzle from Japan and it is played on a rectangular grid. You must solve the puzzle by some basic rules.