def parse_input(string):
    """Return x and y distances as ints from '(x1, y1) (x2, y2)'."""
    string = string.translate({ord(i): None for i in '(),'})
    x1, y1, x2, y2 = [int(x) for x in string.split()]
    return x1 - x2, y1 - y2