#abc255a. [abc255_a]You should output ARC, though this is ABC.
[abc255_a]You should output ARC, though this is ABC.
Problem Statement
Given integers , , and a matrix , print .
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer as an integer.
Sample Input 1
1 2
1 0
0 1
Sample Output 1
0
We have .
Sample Input 2
2 2
1 2
3 4
Sample Output 2
4
We have .
Sample Input 3
2 1
90 80
70 60
Sample Output 3
70
We have .