NOTE: Enter your answer to the nearest integer.
`R` is a zero-matrix, all entries are zeros, of size . Let
```
P = [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]
Q = [[1, 1, -1],
[1, 1, -1],
[1, 1, -1]]
R = [[0, 0, 0],
[0, 0, 0],
[0, 0, 0]]
```
What is the output of the following snippet of code?
```
val = 0
for i in range(3):
for j in range(3):
R[i][j] = P[i][j] * Q[i][j]
val = val + R[i][j]
print(val)
```