def get_id(self, version: int) -> str:
    assert (version >= 2)
    res = []
    for t in self.templates:
        res.append(t.get_id(version))
    return ''.join(res)
def get_id(self, version: int) -> str:
    assert (version >= 2)
    res = []
    for t in self.templates:
        res.append(t.get_id(version))
    return .join(res)