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

[EX Q]: [1291, 3229, 'C', 'P', 5501, 'M', 7039, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'p', 2557, 797, 'z', 'p', 'z', 'K'], ['a', 6929, 'h', 'r', 'Q', 'v', 'L', 4801, 'J', 1849, 4197, 5077, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'N', 773, 'g', 2295, 7477, 'R', 'I', 6823, 9695, 'v', 543, 'R', 7201, 9203, 1731, 'v', 4213, 767, 4273, 6557, 4155, 5339, 9859, 'w', 'D']
[EX A]: 5337, L, 5089, q, 9619, 2651, 2899, 1103, 7949, T, 199, N, 4359, g, 597, 2195, F, 8427, 7741, 3033, 4565, 4957, Y, 37, 9017, k, 2555, z, 4683, q

[EX Q]: [7485, 'Y', 'T', '5979', 'w', 'Q', 'e'], [1525, 4389, 'm', 'T', '5979', 'w', 'w', 1497, 8995]
[EX A]: T, 5979, w

[EX Q]: ['C', 279, 'P', 'N', 'j', 'd', 3339, 'c', '847', '9463', '5301', '8599', 'y', 'Y', 'b', '6585', '4845', 'V', 'Y', 'e', '5533', '6445', '3123', 'n', '9433', '5243', '4475', 't', 'm', '8177', 'I', 'e', 'b', 5657, 9087, 'K', 'a', 4413, 'd', 'y', 8095, 'l', 3039, 'X', 6689, 7949, 'I', 1733], ['e', 7629, '847', '9463', '5301', '8599', 'y', 'Y', 'b', '6585', '4845', 'V', 'Y', 'e', '5533', '6445', '3123', 'n', '9433', '5243', '4475', 't', 'm', '8177', 'D', 7381, 'S', 9851, 'V', 'S', 'R', 'D']
[EX A]:
847, 9463, 5301, 8599, y, Y, b, 6585, 4845, V, Y, e, 5533, 6445, 3123, n, 9433, 5243, 4475, t, m, 8177