In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4307, 'd', 7287, 'I', 'O', 'N', 'h', 9153, 'v', 1637, 'J', 9505, 'X', 'd', 'i', 'Z', 'S', 7499, 145, 'X', '7729', '3627', 'L', 'e', 'Y', 'o', '7489', 'r', '9845', '3651', '4805', '7645', 'q', 'I', 'u', 'D', 'x', 'a', 'Z', '8471', 't', '4553', '2377', '2033', '191', '4013', '2107', 'I', 'i', 1013, 9443, 'u', 'p', 'O', 'v', 'H', 'D', 'S', 4135, 'd', 6145, 's', 6447, 4547, 'J', 'p', 'j', 1843, 909, 4665, 1331, 'q', 4765, 'B', 'h', 'W'], ['Q', 5301, 2859, 'K', 'V', 7561, 'G', 2903, 3467, 8757, 'X', '7729', '3627', 'L', 'e', 'Y', 'o', '7489', 'r', '9845', '3651', '4805', '7645', 'q', 'I', 'u', 'D', 'x', 'a', 'Z', '8471', 't', '4553', '2377', '2033', '191', '4013', '2107', 'I', 'G', 363, 3685, 'E', 'D', 'j', 6563, 9337]