In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1367, 'a', 'X', 'a', 'g', 3065, 'J', 'W', 't', 'D', 1287, 2287, 'O', 'D', 8417, 'A', 'n', 'n', 1943, '8787', 'V', '3623', '7369', 'M', '4327', 'V', 'y', 'p', '7117', 'L', '8597', 'z', '715', 'j', '6777', 'c', 'A', 'e', 'C', '7385', 'h', 'Z', 'Y', 6539, 1137, 'M', 'c', 'h', 8809, 3851, 'H', 9445, 'T', 7677, 'z', 3871, 'c', 'G', 'x'], ['D', 'n', 5979, 'H', 'u', 'r', 'G', 'y', 'D', 'N', 'r', 1473, 't', 4013, '8787', 'V', '3623', '7369', 'M', '4327', 'V', 'y', 'p', '7117', 'L', '8597', 'z', '715', 'j', '6777', 'c', 'A', 'e', 'C', '7385', 'm', 8947, 6439, 'Q', 4069, 2713, 'g', 8153, 8129, 'M', 'X', 'I', 'i', 'I', 2089, 1173, 'H', 4547, 't']