After graduating from university, A, B and C choose to pursue different professions: teacher, lawyer and engineer. Other students made the following guess: Xiao Li: A is an engineer, B is a teacher. Xiao Wang: A is a teacher and C is an engineer. Xiao Fang: A is a lawyer and B is an engineer. It was later proved that Xiao Li, Xiao Wang and Xiao Fang were only half right.
The correct answer about the occupations A, B and C are engaged in respectively is that A is a lawyer, B is a teacher and C is an engineer.