Chord Word Problem