In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['w', 'b', 377, 1767, 'B', 10017, 4683, 'x', 4951, 967, 'w', 'Q', 'p', 283, 'r', 7091, '3005', 'g', '3285', '6157', 'N', 'i', '4559', '8997', 'o', '207', 'i', 'a', 'a', 'S', '2331', 'w', 'Z', '3993', 'B', 'Z', '4719', '553', 'G', 'z', 'Y', 'S', 795, 2077, 'Y', 'C', 9009, 925, 6975, 8779, 'L', 'S', 'H', 9165, 1027, 1585, 'e'], ['E', 'A', 'r', 'F', 'J', 1779, 8911, 'o', 'H', 7615, 'z', 'o', 'd', 8843, 2889, '3005', 'g', '3285', '6157', 'N', 'i', '4559', '8997', 'o', '207', 'i', 'a', 'a', 'S', '2331', 'w', 'Z', '3993', 'B', 'Z', '4719', '553', 'G', 'z', 'S', 4145, 'A', 'p', 'J', 'T', 'v', 'r', 6187, 2731, 'n', 'I']