Input: He is taller than me by a head.
He is taller than me by a train.

Output: second