In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[367, 9785, 'q', 8291, 1165, 'v', 'm', 'x', 2283, 'x', 'X', 3287, 8573, 4683, 711, 6159, 'o', 'x', 'Y', 'h', 'v', 'H', 5569, 2459, 3997, 'S', 's', 2291, 'a', '3513', '6303', 'X', '8207', 'P', '7375', 'm', '1307', 'X', 'a', 'e', 'D', 'l', '9541', '1317', 'g', 'C', '2157', 'w', '8833', '7297', 'v', 'z', '4417', '3851', '1955', '517', '2137', 'P', 'q', 8805, 6591, 'U', 2113, 1775, 2817, 'w', 'X', 'K', 'y', 9603, 'D', 'l', 't', 'e', 'X', 4791, 8793, 6025, 2067, 2299, 5241, 3675, 4923, 'V', 9431, 'z'], ['I', 'f', 685, 'd', 7391, 'q', 'b', 2873, 2075, 8539, 'W', 'M', 'N', 2629, 1803, 8649, 9221, '3513', '6303', 'X', '8207', 'P', '7375', 'm', '1307', 'X', 'a', 'e', 'D', 'l', '9541', '1317', 'g', 'C', '2157', 'w', '8833', '7297', 'v', 'z', '4417', '3851', '1955', '517', '2137', 'P', 'E', 'D', 'a', 3007, 8945, 'T', 485, 6367, 'X', 'x', 'U', 'W', 'D', 9053, 't']