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

[EX Q]: ['X', 'j', 'Y', 4541, 7639, 'm', 'K', 305, 6733, 5077, 'S', 'S', '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'j', 'P', 'x', 'r', 'K', 'C', 'R', 'k', 985, 1029, 't', 'c', 3835], [8563, 'b', 'D', 8893, 3193, 1043, 5807, 7563, '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'z', 'S', 6681, 8187, 7139, 5221, 9683, 7271, 'c', 419, 'i']
[EX A]: 6005, v, 5903, 4231, z, p, 7235, w, 3597, 979, 3071, 3945, 8645, 8455, 9083, 8905, 999, 111, N, H, 2777, e, 9415, j, Q, 2679, w, g, 9581, 6053

[EX Q]: ['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']
[EX A]: 4963, 1225, 4331, 1287, v, 8479, y, 673, M, V, 8307, C, 7931, z

[EX Q]: ['o', 7509, 'g', 'S', 6649, 591, 'w', 6005, 7941, 'E', 9719, 'N', 'Y', '2411', 'w', 'Z', 'b', 'k', 'e', 'H', 'i', 'r', '6203', '3003', '3127', '2277', 'i', 's', 'M', '8479', '6031', 'M', '7063', '7289', 'p', 'g', 'H', 3993, 'u', 4617, 3981, 5101, 8777], ['s', 2225, 'v', 'N', 'Y', '2411', 'w', 'Z', 'b', 'k', 'e', 'H', 'i', 'r', '6203', '3003', '3127', '2277', 'i', 's', 'M', '8479', '6031', 'M', '7063', '7289', 'p', 'g', 'l', 3597, 'q', 19, 7957, 717, 'X', 'I', 'i']
[EX A]:
N, Y, 2411, w, Z, b, k, e, H, i, r, 6203, 3003, 3127, 2277, i, s, M, 8479, 6031, M, 7063, 7289, p, g