In order to run the code, you can execute the following command:
python tunas.py
You will need to input three lines of input. The first line contains two integer, n and m. The second and third lines contain n integers. The program would throw error if the amount of number for the second and third line exceeds n.
Sample Input:
4 2
8 9 3 2
5 4 1 3
Expected Output:
6