<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def filter_collections_by_statement(data_collections, statement):
 """Generate a filtered data collections according to a conditional statement. Args: data_collections: A list of aligned Data Collections to be evaluated against the statement. statement: A conditional statement as a string (e.g. a>25 and a%5==0). The variable should always be named as 'a' (without quotations). Return: collections: A list of Data Collections that have been filtered based on the statement. """

        pattern = BaseCollection.pattern_from_collections_and_statement(
            data_collections, statement)
        collections = [coll.filter_by_pattern(pattern) for coll in data_collections]
        return collections