You are participating in an experiment on pattern recognition within formal languages. Below are training data: labeled sequences of symbols formatted as
label: token1 token2 token3 ...,
where label is either 1 (positive) or 0 (negative). The end of the training set is marked by a blank line.

exemplars

Now, given a new string, predict its label based on the structure you've inferred. Only reply with 1 or 0. Do not provide explanations, annotations, or justification.

string: test_string

