Input: He was jailed for six months for stealing.
He was jailed for six months for sleeping.

Output: second