Input: A friend of mine and a girl who was from his home town met in Vienna who was working in Europe.
Output: 0