def process_claim(claim):
    """Convert a claim row into a set of points"""
    claim_number, details = [i.strip() for i in claim.split('@')]
    # strip the leading #
    claim_number = int(claim_number[1:])
    coordinates, area = [i.strip() for i in details.split(':')]
    column, row = [int(i) for i in coordinates.split(',')]
    width, height = [int(i) for i in area.split('x')]
    claims = set(
        (x, y)
        for x in range(row, row + height)
        for y in range(column, column + width)
    )
    return claim_number, claims