The deformity of hammer toe relates to the abnormal to