In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[517, 'm', 'H', 10021, 'E', 9409, 'b', '2565', 'w', '33', 'X', 'I', 'l', 'n', 'J', 'f', 'o', 'y', 'q', '7951', '4413', 'u', '7063', '7629', 'b', 'x', 'U', '9219', '6737', 'D', 'w', 'u', 'f', 2409, 3401, 'v', 1517, 'D', 5431, 'G', 4507, 'y', 2319, 'S'], [447, 'N', 4989, 'b', '2565', 'w', '33', 'X', 'I', 'l', 'n', 'J', 'f', 'o', 'y', 'q', '7951', '4413', 'u', '7063', '7629', 'b', 'x', 'U', '9219', '6737', 'D', 'o', 3181, 'n', 5185, 9229, 'p', 'F', 8239, 'G', 'l', 3119, 'v', 'c', 1749, 'P', 6781, 2933, 'R', 'B']