def read_cocs(path):
    """Read COC file at `path`, return contents as tuple of ints."""
    with open(path) as lines:
        return tuple(
            int(line.rstrip('\r\n'))
            for line in lines
            )