Tia and Mia are twin sisters.One of them is a liar whereas the other one is a truth teller.

I called their home number and one of them picked up.

I asked. 'Does Tia lie?' The person replied with a yes.

Whom did I talk with? Tia or Mia ?

I spoke with Mia.

Let us assume that Tia is a liar and Mia is a truth teller.

If I asked the question from Mia, the answer will be yes. If I asked the question from Tia, the answer will be no. Thus I must have asked from Mia.

Let us assume that Tia is a truth teller and Mia is a liar.

If I asked the question from Mia, the answer will be yes. If I asked from Tia, the answer will be no. Thus in this case as well, I must have asked from Mia.