The owner or occupant of any premises abutting on a public way of the town on which there is a public sidewalk shall as soon as reasonably possible, so dispose or treat ice and snow accumulating thereon as to make said sidewalk reasonably available and safe for public passage. No person shall lay, throw or place or cause to be laid, thrown or placed, in any public way of the town ice or snow in such quantity or condition as to obstruct public passage of said way.