__author__ = 'Zlobober' n = int(raw_input()) ans = 0 for i in range(n): x1, y1, x2, y2 = map(int, raw_input().split()) ans += (x2 - x1 + 1) * (y2 - y1 + 1) print ans
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "prog.py", line 3, in <module> EOFError: EOF when reading a line