A painter draws 64 equal squares of 1 square inch on a square canvas measuring 64 square inches. She chooses two squares (1 square inch each) randomly and then paints them. What is the probability that two painted squares have a common side?
a. 112/2016
b. 1/3
c. 512/10034
d. 3/97
e. 7/108