import types N = 3 xy = [map(int, input().split()) for _ in range(N)] x, y = [list(i) for i in zip(*xy)] r, m = ctr(x, y) print(r)