In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5933, 'N', 6501, 'd', 1095, 3309, 'a', 'g', 5907, 4627, 'v', 'o', 'A', 'n', 'v', 4835, 'f', 'n', 8731, 5289, 7487, 8331, 'c', 'V', 2733, 'T', 4533, '147', 'v', 'F', 'x', '5315', '3267', 'x', 'j', 'Z', 'Y', 'F', 'z', '823', 'z', 'G', 'B', 'S', '1231', 'q', 'X', '9665', 'k', '1745', '3911', '9771', '6877', '8561', '287', '8573', 'O', 'U', 'Q', 'i', 8703, 'L', 1083, 4463, 'R', 'M', 'E', 675, 't', 8893, 5135, 4715, 'o', 'D', 5181, 'f', 6289, 9755, 'o', 6615, 6857], [227, 'i', 57, 'm', '147', 'v', 'F', 'x', '5315', '3267', 'x', 'j', 'Z', 'Y', 'F', 'z', '823', 'z', 'G', 'B', 'S', '1231', 'q', 'X', '9665', 'k', '1745', '3911', '9771', '6877', '8561', '287', '8573', 'O', 'h', 'D', 'i', 1771, 2273, 'p', 'v', 6307, 'W', 'n', 'v', 'O', 'S', 'k', 'b', 'v', 'l', 'y', 'g', 'm', 5887, 4727, 751, 'B', 'f']