Problem F. DO ME!

Problem

The Great Magician Kayman is playing a new trick with cards. The magic goes by placing cards with sides parallel to the sides of a big table. And he would immediately tell the audience the area of the table covered by the cards.

He needs you to tell him the answer from the back stage with a computer.

Here is an example of how cards are places on the table:

Each card has a fixed width of 6 units and height of 16 units.

Input

The input consists of data for several rounds. Each round starts with a positive integer n (n ≤ 100000), the number of cards. n pairs of coordinates (x,y) follow, each indicating the coordinates of the left bottom corner of a card. Each x or y coordinate is an integer in the range 0 ≤ x, y ≤ 100000.

[Hint: Reading input using iostream may be too slow for this problem. Read a pair of coordinates into variable x,y with scanf("%d %d", &x, &y).]

Output

For each dataset, output an interger indicating the area covered by the cards.

Sample Input

5
20 20
40 40
100 100
0 0
70 70
2
0 0
1 1
4
4 0
0 9
4 18
8 9

Sample Output

480
117
328

Author

Alpha