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

[EX Q]: ['V', 519, 867, 5473, 'n', 6997, 7391, 6371, 5779, 'T', 'L', '8535', '5719', 'q', 'B', 'a', 'E', 'l', 'f', '2919', 'd', 'O', '9587', '2747', '6013', '2123', '5861', 'u', '8197', '7743', 'i', '5239', '1005', '5993', '4027', 'a', 'R', 8701, 555, 3653, 9055, 'l', 9335, 8087, 7439, 'n', 2233, 'L', 683, 'L', 'e', 2673, 5767], [5361, 3329, 867, 'n', 2379, 'S', 4679, 'M', 1831, 'I', 'm', 'E', 'E', 'u', 2107, 'u', 7779, 1113, 't', 2959, 'T', 'L', '8535', '5719', 'q', 'B', 'a', 'E', 'l', 'f', '2919', 'd', 'O', '9587', '2747', '6013', '2123', '5861', 'u', '8197', '7743', 'i', '5239', '1005', '5993', '4027', 'm', 5943, 2765, 9589, 'O', 'B', 'e', 6097, 6003, 1049, 'i']
[EX A]: T, L, 8535, 5719, q, B, a, E, l, f, 2919, d, O, 9587, 2747, 6013, 2123, 5861, u, 8197, 7743, i, 5239, 1005, 5993, 4027

[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]: [9635, 4025, 'i', 'c', '6597', 'j', '645', 'C', 'a', 'c', 8077, 9137, 4637], ['L', 'k', 'i', 'c', '6597', 'j', '645', 'C', 'a', 'x', 9437, 'F', 'i', 'M']
[EX A]:
i, c, 6597, j, 645, C, a