Input: Pat wanted to go to Berne, and Chris going to Rome.
Output: 0