A robot came up with a cipher for writing words: he replaced some letters of the alphabet with single-digit or two-digit numbers, using only the digits 1, 2 and 3 (different letters it replaces with different numbers). First, he wrote down, using the cipher: