Input: Suddenly there entered the hall an ugly old man.
Output: 1