Step-by-step explanation:
what do you mean by "the hard part" ?
anyway,
we need to sum the numbers in every column creating 5 sums.
then we need to multiply these 5 numbers (product) and divide the result by 16 (we need 1/16 of that product).
so, we have
5 + 1 = 6
1 + 6 + 4 + 8 = 19
2 + 1 + 3 = 6
2 + 5 = 7
1 + 0 + 7 = 8
6×19×6×7×8 = 38,304
38,304 / 16 = 2394
that is your code : 2394