In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9405, 719, 7687, 9161, 'r', 3671, 'l', 'A', 8689, 2113, 2273, 7651, 'J', 1665, 'p', 'b', 'Q', 'f', '8357', 'L', 'j', 'P', '1425', 'h', 'O', 'x', 'N', 'x', '8365', '2307', '7119', '4379', '4853', 'k', '9561', '2063', 'v', 'c', 'V'], [8971, 6477, 2687, 5751, 'C', 'n', 'j', 'Z', 3789, 'Q', 'f', '8357', 'L', 'j', 'P', '1425', 'h', 'O', 'x', 'N', 'x', '8365', '2307', '7119', '4379', '4853', 'k', '9561', '2063', 'P', 9399, 'K', 'y', 'O', 'O', 5023]