In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5589, 'W', 8307, 'K', 4025, 263, 'q', 'f', 4541, 'h', 9651, 2471, 'L', 'E', 5589, 9665, 1929, 'D', 'N', 'R', '2247', '885', 'Z', '1137', '1935', 'e', 'M', '4281', '5741', '4649', 'F', '8863', '4911', '7111', 'N', '129', 'L', '1835', 'X', '9707', 'g', 'P', 'y', 2943, 'C', 7947, 5991, 7319, 9777, 'F'], ['U', 'o', 'o', 1809, 6005, 'B', 7861, 353, 'T', 'N', 'x', 't', 9269, 6969, 'S', 'R', '2247', '885', 'Z', '1137', '1935', 'e', 'M', '4281', '5741', '4649', 'F', '8863', '4911', '7111', 'N', '129', 'L', '1835', 'X', '9707', 'i', 489, 2415, 6237, 1165, 'h', 8035, 'i', 'T', 'u', 6765, 'G', 'u', 'j']