In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8381, 'z', 4679, 8913, 841, 2767, 'g', 'C', 7549, 1277, 8001, 'B', 6459, 7765, 'I', 'l', '1709', 'g', 'x', '241', 'l', 't', 'i', 'M', '1965', '7947', 'z', '3897', 'R', '1945', 'q', 869, 'O', 'n', 'o', 'P', 6689, 5555, 2863], ['X', 6385, 'l', '1709', 'g', 'x', '241', 'l', 't', 'i', 'M', '1965', '7947', 'z', '3897', 'R', '1945', 'Q', 9133, 3709, 7549, 9165, 'H', 't']