# The three neighbors

Ana, Carmen and Teresa are three friends who live in neighboring homes. Carmen is the one who lives in the middle house. One of them likes the theater a lot, the other goes by bicycle and the last swim, but we don't know to whom each of the hobbies corresponds. However, a neighbor of the town tells us the following:

The one who likes to ride a bike from time to time takes Teresa's dog for a walk. The one who likes the theater should frequently warn Ana, hitting the adjoining wall, when she has too high television.

What are the hobbies of each of the girls?

#### Solution

If the one who likes to ride a bicycle takes Teresa's dog for a walk, it means that Teresa does not like to ride a bicycle. The one who likes to go to the theater hits the wall of Ana's house when the television is very strong and since Carmen lives in the middle, she must be the one who likes the theater (Ana and Teresa cannot hit the wall on one of the the other since they have Carmen in the middle). And since Teresa is not the one who likes to ride a bicycle, nor who likes the theater, it means that she likes to swim. Ana must necessarily be the one who likes the bicycle: Result: Ana likes to ride a bicycle, Carmen likes the theater and Teresa likes to swim.