For each test case output, on a line of its own: "impossible" if no seed number can produce the given sequence. "unpredictable" if there exists a seed number that produces the given sequence but the first T elements are not completely determined by the first L elements. The T:th element of the sequence in base 10, otherwise.
8
unpredictable
impossible