Given an object and a part, decide whether the object has that part. For example is you are asked 'gun has barrel', you need to decide if a gun has a barrel as one of its components or parts. All sentences strictly follow the template 'object has part?.' The answer should be 1 or 0, 1 means the object has the given part, while 0 means it doesn't have the part.

Ex Input:
bottle has beer?

Ex Output:
1


Ex Input:
jail has lock?

Ex Output:
1


Ex Input:
car has skyscraper?

Ex Output:

0