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

[EX Q]: ['p', 9773, 'Y', 'o', 'w', 's', '583', 'e', '2773', '9925', '8535', 'M', '9831', 'V', 'q', 'S', 5087, 'M', 7601, 'D'], [7787, 'l', 'o', 'w', 's', '583', 'e', '2773', '9925', '8535', 'M', '9831', 'V', 'q', 'X', 'W', 3163, 'f', 5201]
[EX A]: o, w, s, 583, e, 2773, 9925, 8535, M, 9831, V, q

[EX Q]: [5367, 7499, 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'o', 'M', 'T', 'q', 'J', 't', 3991], [3847, 'h', 8145, 'z', 'C', 6061, 5347, 'U', 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'w', 5279, 4553]
[EX A]: a, 3619, 5119, 4219, 769, 8735, 6417, V, W

[EX Q]: [6583, 4399, 'F', 8225, 'f', '6179', 'a', '7469', '221', 'W', 'Z', 'f', 'Z', 'p', '1957', 'y', 'H', '2545', '9263', 'C', 'A', 'D', 'B', 'n', 'f'], [9619, 6493, 9747, 4815, 8857, 6545, 6977, 's', '6179', 'a', '7469', '221', 'W', 'Z', 'f', 'Z', 'p', '1957', 'y', 'H', '2545', '9263', 'C', 'A', 'D', 9875, 5983, 'X', 7151, 5621, 4415, 8413, 187, 'B', 'W']
[EX A]:
6179, a, 7469, 221, W, Z, f, Z, p, 1957, y, H, 2545, 9263, C, A, D