The first line contains a single integer .The second line contains integers .The third line contains integers .
Print a single integer --- the maximum possible score.
4 1 1 1 2 1 1 1 1
4
4 1 1 1 1 1 1 1 2
3