In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9813, 7929, 'R', 'V', 'a', 'k', '4879', '1261', 'N', '287', '667', '2273', 'E', 'G', '9495', 'J', 'Y', '8541', 'h', 'N', 'P', 'T', 4323, 375, 209, 'g', 9731, 'H', 7305, 'k', 197, 'r', 'E'], [5193, 'g', 4861, 'a', 7027, 7843, 2125, 2763, 'l', 'z', 8969, 4943, 8403, 791, 'W', 'V', 'a', 'k', '4879', '1261', 'N', '287', '667', '2273', 'E', 'G', '9495', 'J', 'Y', '8541', 'h', 'P', 'A', 6279, 'U', 'J', 2141, 'e', 4815, 9259, 'Z', 2985, 'M']