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

[EX Q]: [5225, 'L', 1023, 8623, 'k', 'f', '1481', 'e', 'm', '4013', 'l', '831', 'n', '3137', 'b', 517], [1243, 't', '1481', 'e', 'm', '4013', 'l', '831', 'n', '3137', 'x', 5545, 's', 'a']
[EX A]: 1481, e, m, 4013, l, 831, n, 3137

[EX Q]: ['X', 'U', 'Z', 9489, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'U', 'p', 'R', 609, 4535, 4269, 8941, 'I', 2091, 'Q'], [3721, 8573, 8821, 6095, 1215, 1195, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'L', 'm', 'q', 'j', 697, 3367, 'R']
[EX A]: 4623, M, d, 5977, 7669, 8583, 2455, D, j, c

[EX Q]: ['M', 'W', 9249, 3385, 'b', 'g', 'B', 2759, 'L', 'e', 'g', 475, 'G', 'f', 2925, 'K', 623, '4401', 'T', 'b', '5389', 'w', '9387', 'E', 'b', 'n', '997', '2977', 'q', 'i', '7655', 'F', '7375', '8877', '1495', 'U', 'F', '5283', '8135', 'T', 'f', '2965', 'x', 2481, 'p', 'o', 947, 1235, 2281], [411, 'T', 4247, 'S', 'a', 'F', 1939, 4895, 2497, 2809, 7073, 7257, 6089, 'V', 6343, 4675, 609, 'Q', 'h', 1607, 8071, '4401', 'T', 'b', '5389', 'w', '9387', 'E', 'b', 'n', '997', '2977', 'q', 'i', '7655', 'F', '7375', '8877', '1495', 'U', 'F', '5283', '8135', 'T', 'f', '2965', 'T', 'b', 6945, 3579, 'v', 'X', 'k', 'I']
[EX A]:
4401, T, b, 5389, w, 9387, E, b, n, 997, 2977, q, i, 7655, F, 7375, 8877, 1495, U, F, 5283, 8135, T, f, 2965