You need someone with a good head to answer this math problem There are six passengers on the train from Beijing to Guangzhou. A, B, C, D, e and F are from Beijing, Tianjin, Shanghai, Yangzhou, Nanjing and Hangzhou A and Beijing people are doctors, e and Tianjin people are teachers, C and Shanghai people are engineers; A. B, F and Yangzhou have been in the army, while Shanghai people have never been in the army; Nanjing people are older than a, Hangzhou people are older than B, and F is the youngest; B to Wuhan with Beijingers, C to Guangzhou with nanjingers According to the known conditions to determine each passenger from the city and occupation

You need someone with a good head to answer this math problem There are six passengers on the train from Beijing to Guangzhou. A, B, C, D, e and F are from Beijing, Tianjin, Shanghai, Yangzhou, Nanjing and Hangzhou A and Beijing people are doctors, e and Tianjin people are teachers, C and Shanghai people are engineers; A. B, F and Yangzhou have been in the army, while Shanghai people have never been in the army; Nanjing people are older than a, Hangzhou people are older than B, and F is the youngest; B to Wuhan with Beijingers, C to Guangzhou with nanjingers According to the known conditions to determine each passenger from the city and occupation

① A and Beijing people are doctors, e and Tianjin people are teachers, C and Shanghai people are engineers
It can be inferred that a's occupation is a doctor (a will not be from Beijing, Shanghai or Tianjin), e's occupation is a teacher (E is not from Tianjin, Shanghai or Beijing), and C's occupation is an engineer (from Beijing, Shanghai or Tianjin)
② A, B, F and Yangzhou have been in the army, while Shanghainese have never been
It can be inferred that a, B and F are not from Shanghai, and a, B and F are not from Yangzhou
③ Nanjing people are older than a, Hangzhou people are older than B, and F is the youngest
A is not from Nanjing, B is not from Hangzhou
It can be concluded that one of D and E is from Shanghai
C and Shanghainese are engineers
E is a teacher
A not from Beijing, Shanghai, Tianjin, Nanjing or Yangzhou
So a is Hangzhou people Occupation: doctor
D is a Shanghainese Occupation: engineer
E is not from Beijing, Tianjin, Shanghai, Yangzhou or Hangzhou
So e is a native of Nanjing and a professional: a teacher
Age of E > age of a > age of b > age of F
F is not from Shanghai, Tianjin, Yangzhou, Nanjing or Hangzhou
So f is the occupation of Beijingers: doctor
Now there are passengers: B, C place: Tianjin, Yangzhou
B is not from Yangzhou
So B is the occupation of Tianjin People: teacher
So C must be an engineer in Yangzhou
Conclusion: a from Hangzhou Occupation: Doctor
B from: Tianjin occupation: Teacher
C from: Yangzhou Occupation: Engineer
D from: Shanghai Occupation: Engineer
E from: Nanjing Occupation: Teacher
F from: Beijing Occupation: Doctor
The answer is over, please accept
Test method: bring in the condition, one does not meet the condition is wrong, meet the condition is correct