# Matrix multiplied by mod p

I was reading the following paper and I am stuck at the second last step. Can you please explain the L multiplied by (mod 19) step (right after (6))

How are they getting (3/5)mod 19 =12 ? similarly how are they getting the other matrix elements 16, 3, 12 ?

-