In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5431, 'E', 1245, 'C', 3099, 'o', 667, 9525, 3811, 9825, 4593, 'k', 'r', 'R', 'j', '1985', 'N', 'G', 'P', '257', '7869', 'q', 'Y', '491', 'r', 'e', '1639', '9689', 'A', 'N', 'n', 'b', '839', 'C', '8443', 'z', 'k', 'N', 'v', 'S', 'd', 'g', 'D', 'c', 1305, 2319, 383, 1727, 'g', 'i', 's', 9501, 1663, 8157, 'A', 4453], ['G', 6767, 5717, 2705, 1373, 8727, 'j', '1985', 'N', 'G', 'P', '257', '7869', 'q', 'Y', '491', 'r', 'e', '1639', '9689', 'A', 'N', 'n', 'b', '839', 'C', '8443', 'z', 'w', 7243, 8301, 'b', 5101, 4225, 'J', 'F', 9699, 8001, 'g', 'g']