The following text was written on the board: \(N597M\). Each of the letters
\(N\) and \(M\) should be replaced by a digit (they may or may not be
the same) so that the resulting five digit number is divisible by \(12\).
In how many ways can you do this?
Uz tāfeles bija uzrakstīts šāds teksts: \(N597M\).
Katrs no burtiem \(N\) un \(M\) jāaizstāj ar vienu ciparu (tie var būt arī
vienādi) tā, lai iegūtais piecciparu skaitlis dalītos ar \(12\).
Cik dažādos veidos to var izdarīt?