The first term of an arithmetic sequence is 2 while the 18th term is 87. Find the common
difference of the sequence.