Input: Loren was relied on by Pavarotti and Hepburn on by Bond.
Output: 0