There are two tribes in Mars, Lie tribe and Truth Tribe.
Lie tribe always speaks lie, True tribe always speaks truth.You meet three mars people and ask from the first Person:

Question : What tribe do you belong to?

He replies something in his language which you don’t understand. The Second person tells you that he is saying that he belongs to Lie Tribe. Third person says that the second person is lying.

What tribe does the third person belong to?

Option 1 : Truth Tribe
Option 2 : Lie Tribe 
Option 3 : Can't Say
Whichever option is correct, just submit the integer value. For example: 
if option 1 is correct then submit '1' 
if option 2 is correct then submit '2'