You are given a sequence of length and a sequence of length .
Print any longest sequence that occurs contiguously in both and . In other words, the printed sequence must equal an interval of and an interval of .
The input is given in the following format:
For each case, print the length of a longest common interval on one line. If , print its elements separated by spaces on the next line. If , print no elements.
If several answers exist, you may print any of them.
Each case is given in the following format:
| 2 | 80 | No additional constraints. |