In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5677, 'k', 'h', 1723, 5037, 'z', 1011, 'F', 'j', 7201, 1481, 'i', 7499, 3995, 'G', 'B', 8203, 6981, 3805, 'm', 4015, 'C', 'w', 'D', 'J', '4261', '9545', 'h', 'y', 'v', '331', '5607', '2231', 'd', '7317', '1131', 'm', '3309', 'q', '8499', 'z', 'f', '6125', 'n', 'n', 'S', '9791', '6171', 'S', 'q', 'P', 2505, 10003, 9007, 'm', 'm', 2963, 'x', 323, 'f', 'd'], ['S', 'y', 6595, 4949, 7997, 'e', 'R', 'F', 2715, 'e', 3361, 3995, 'N', 2347, 6841, 5307, 2729, 'y', 'g', 'T', 'L', '4261', '9545', 'h', 'y', 'v', '331', '5607', '2231', 'd', '7317', '1131', 'm', '3309', 'q', '8499', 'z', 'f', '6125', 'n', 'n', 'S', '9791', '6171', 'S', 'q', 'J', 's', 8543, 6467, 149, 'a', 'Y', 'P', 'Q', 4771, 'E', 'S', 'R', 293]