https://gist.github.com/tkuriyama/5a0f5d886a3578a72d58
Passengers in a Railroad Compartment
Six passengers sharing a train compartment are from Moscow, Leningrad, Tula, Kiev, Kharkov, and Odessa.
- A and the man from Moscow are physicians
- E and the Leningrader are teachers.
- The man from Tula and C are engineers.
- B and F are WWII veterans, but the man from Tula has never served in the armed forces.
- The man from Kharkov is older than A.
- The man from Odessa is older than C.
- At Kiev, B and the man from Moscow got off.
- At Vinnitsa, C and the man from Kharkov got off.
Match initials, professions, and cities. Also, are the facts both sufficient and necessary to solve the problem?
from Boris A Kordemksy, The Moscow Puzzles: 359 Mathematical Recreations, p111.