Input: If he has to wait, John gets angry.
Output: 1