hey

a puzzle in the style of Raymond Smullyan

Problem:

There is an Island on which there are three different people: One Group always says the truth, the other always lies and the third group switches, they say the truth then a lie, truth and so on.

A scientist comes to the island and meets with three people A,B,C (he knows that every group is represented). He asks one question:"To which group do you belong?"

As first answer (A1): "C always tells the truth"

As second answer (B1): "B switches"

B1: "A always lies"

B2: "C switches"

C1: "A switches"

C2: "I always tell the truth"

Figure out which person belongs to which group?

modification:

A1: I always tell the truth

A2: B always lies

B1: I switch

B2: C always lies

C1: I tell the truth

C2: A always lies