# Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

## Football and ICPC

October month of year 20** has been wonderful for our department .One team from our department has just arrived to KUET participating in the word final of ”ACM ICPC” and at the same time our department became champion in inter department football tournament.What a coincidence!!! I will tell you the story later, let’s solve a problem for this time!!! Today is the prize giving ceremony but “Man of the Tournament” of this tournament yet to be decided. Committee members are having tough time with the calculations, they decided to go to the world finalist team for the solution.Then suddenly you have come to the committee saying “ Vhai, let them rest, ami bepar ta dekhtechi”. Then committee is describing the problem as follows:

You have got an array A consisting of N integers **A _{1},A_{2},…..A_{n}**.

**A**represents the goal scored by each player i and You have got an array B consisting of N integers

_{i}**B**.

_{1}, B_{2}, ….. B_{N}**B**represents yellow card conceded by those player

_{i}**i**. For each goal a player gets

**20**points and for each foul

**10**points is deducted from each player. Finally, you need to calculate overall points gained by each player and tell the committee highest points gained by a single player.

### Input

Input starts with an integer **N (1 <= N <= 150)** which denotes the number of players in the tournament.
Second line contains **A _{1},A_{2},A_{3},…..A_{N} (0 <= Ai <= 50)** - the elements of the array

**A**. Third line contains

**B**- the elements of the array

_{1}, B_{2}, B_{3}, ….. B_{N}(0 <= Bi <= 50)**B**.

### Output

For each test case you have to print highest points gained by a single player. If all the player fail to achieve positive valued points then you will print “0” ( zero without quotation mark ).

### Samples

Input | Output |
---|---|

3 10 20 50 2 4 6 | 940 |