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]: [2975, 3781, 'D', 'd', 'K', 4033, '3783', 'n', 'k', '327', 't', '9871', '233', 's', 'e', 'P', 3411, 'J', 'e'], [4339, 2811, '3783', 'n', 'k', '327', 't', '9871', '233', 'l', 'f', 4263, 7913]
[EX A]: 3783, n, k, 327, t, 9871, 233

[EX Q]: [5869, 'X', 'g', 'g', 9277, 7381, 'J', 'j', 'r', 'X', 'W', '7623', 'X', '9383', '3853', '7979', '5253', 'd', 'p', 'T', 'v'], [5235, 341, 'B', 99, 'J', 'j', 'r', 'X', 'W', '7623', 'X', '9383', '3853', '7979', '5253', 'd', 'p', 'I', 8181, 2205, 2367, 1185, 'U', 'm', 1621]
[EX A]:
J, j, r, X, W, 7623, X, 9383, 3853, 7979, 5253, d, p