In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1029, 1103, 'r', 'p', '4445', 'X', '3241', '7327', 'z', '6117', '4837', '6939', 'l', 's', '2977', 'a', 'g', '7885', '7409', '8817', '3163', 'Z', '4011', 'e', '1895', 'V', '6917', 'r', 'N', 4511, 4045, 2315, 1309, 'N'], ['j', 7431, 3163, 'Z', 'c', 7517, 'q', 5735, 4367, 'p', '4445', 'X', '3241', '7327', 'z', '6117', '4837', '6939', 'l', 's', '2977', 'a', 'g', '7885', '7409', '8817', '3163', 'Z', '4011', 'e', '1895', 'V', '6917', 'r', 'r', 6563, 'a', 3819, 'q', 'S', 6955, 'Q']