You are given two arrays of integers and .
Find the following value:
Note that denotes the maximum integer not exceeding , and denotes the absolute value of .
The first line of the input contains integers ().
The second line of the input contains integers (, ).
The third line of the input contains integers (, ).
Print a single integer — the sum from the statement.
In the first sample the answer is .
In the second sample, the answer is .