from typing import List


def read_group_answers(path: str) -> List[List[str]]:
    """Read groups from input file, skip last trailing newline and split to list of lists."""
    with open(path, 'r') as f:
        return [g.split('\n') for g in f.read()[:-1].split('\n\n')]