In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 859, 'x', 6607, 2775, 1107, 'P', 3841, 6701, 'p', 251, 'a', 'E', 'A', 'G', '5239', '9235', '5741', 'b', '1845', '9805', 'V', 'W', '4355', 'k', 'D', 'P', 'Y', 'g', '6341', 'B', 'S', 'R', 'j', '6443', '6413', '9537', 't', 'F', 5797, 7935, 'H', 'M', 'u', 4161, 'l', 3723, 'Q', 537, 'c', 1741, 'B', 1983, 2457, 45, 5487, 'N', 'M'], [4003, 2089, 'V', 7915, 5893, 2107, 2543, 1013, 'H', 9643, 717, 'Q', 8209, 2111, 8495, 6457, 1855, 'b', 'O', 'A', 'G', '5239', '9235', '5741', 'b', '1845', '9805', 'V', 'W', '4355', 'k', 'D', 'P', 'Y', 'g', '6341', 'B', 'S', 'R', 'j', '6443', '6413', '9537', 'e', 3943, 2295, 'a', 'B', 'x', 'z', 551, 'l', 'Z', 7727, 2997, 'b', 519, 9943, 'm']