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]: ['L', 'W', 4919, 'y', '665', '9279', 'Z', 'd', '205', 'g', 'n', 305, 'r', 'B'], ['x', 'j', '665', '9279', 'Z', 'd', '205', 'a', 'V']
[EX A]: 665, 9279, Z, d, 205

[EX Q]: [6723, 1377, 'e', 'k', 'b', 6795, 1277, '151', '4945', 'N', '7715', '4013', 'E', 'P', '1775', 'e', 'F', '321', 'L', 'g', 'V', 'J', 'N', 'v'], [3741, 'p', 'g', 'f', 's', 8691, 2087, 'N', 'p', 'J', '151', '4945', 'N', '7715', '4013', 'E', 'P', '1775', 'e', 'F', '321', 'L', 'g', 'V', 'J', 'A', 'C', 'g']
[EX A]:
151, 4945, N, 7715, 4013, E, P, 1775, e, F, 321, L, g, V, J