The ans is S2 only i.e option B
spatial mask for point (x,y) used to implement the digital Laplacian of the 2-D is given by
[ f(x+1,y),f(x-1,y),f(x,y+1),f(x,y-1)]-4f(x,y) so possible mask are
0 1 0 1 1 1
1 -4 1 or 1 8 1
0 1 0 1 1 1
here in S1 a 1 is missing on the right side of -4