In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['r', 'g', '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'G', 'N', 2585], ['X', 5347, 'M', 'Z', 4615, '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'P', 'o']
997, n, 631, 527, E, A, n, n, G, 1197, R, L

['P', 6481, 'O', 6003, 1505, 'G', 3907, 'c', 5741, 3, '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'Z', 'P', 'i', 9259, 'T'], [3141, 4731, 4787, 6417, 8539, 3015, 3437, 6005, 'w', '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'k', 6421, 645, 6161, 'm']
4963, 1225, 4331, 1287, v, 8479, y, 673, M, V, 8307, C, 7931, z

['d', 'h', 235, 6667, 's', 5251, 1183, 5677, 'c', 'm', 'e', 2329, 9071, 's', 'Z', 9613, 7205, 87, 869, 2277, 7029, 4491, 'z', 'C', 'k', 'D', '8745', 'U', '6883', '8523', 'O', '4495', '6469', 'g', '4509', 'o', 'G', '8797', '2391', '2073', '8997', 'V', '9517', '2359', 's', 'B', '9539', 'h', 'H', 'q', 'O', 'm', 'J', 'x', 'L', 9157, 461, 'A', 'I', 'M', 'L', 'G', 'c', 4731, 'E', 'L'], ['R', 2033, 'p', 'N', 4949, 9827, 5379, 3751, 'O', 'X', 'Z', 6407, 'f', 'J', 9829, 6857, 'a', 'Z', 'w', 'm', 'c', 2101, 'u', 'I', 'a', 845, 7735, 4413, 'z', 'C', 'k', 'D', '8745', 'U', '6883', '8523', 'O', '4495', '6469', 'g', '4509', 'o', 'G', '8797', '2391', '2073', '8997', 'V', '9517', '2359', 's', 'B', '9539', 'h', 'H', 'q', 'O', 'm', 'l', 4981, 'P', 6043, 9683]

z, C, k, D, 8745, U, 6883, 8523, O, 4495, 6469, g, 4509, o, G, 8797, 2391, 2073, 8997, V, 9517, 2359, s, B, 9539, h, H, q, O, m