def parse_line(line):
    """
    parse the integers from:
    #1196 @ 349,741: 17x17
    """
    coords, dimensions = line.split(' @ ')[1].split(': ')
    coords = coords.split(',')
    x, y = int(coords[0]) + 1, 0 - (int(coords[1]) + 1)
    dimensions = dimensions.split('x')
    x_length, y_length = int(dimensions[0]), int(dimensions[1])
    return [x, y, x_length, y_length]