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

[EX Q]: [6397, 'W', 'k', 'v', 'E', '1941', '2295', 'q', '1357', '2041', '5263', '7781', 'w', 'N', 1329, 5233, 'U', 2563, 'L', 8547], [1857, 'F', 'g', 8381, 165, 'o', 7009, 5455, '1941', '2295', 'q', '1357', '2041', '5263', '7781', 'w', 'X', 'g']
[EX A]: 1941, 2295, q, 1357, 2041, 5263, 7781, w

[EX Q]: ['G', 'E', 'A', 'u', 'x', 'W', 'o', 'e', 'i', 'B', 3441, 'S', 8211, 'E', '5913', '4807', '8365', 'v', '5383', 'V', 'M', 'i', 'I', 'J', '1475', '3385', 'r', '9983', 'U', 'i', 'a', 9789, 4073, 'J', 'C', 8849, 6749, 'G', 5237, 9697, 1425, 'J', 5755], ['W', 'S', 'V', 'r', 'd', 'v', 7267, 7665, 'c', 3763, 'Z', 7427, 4575, 'D', 'q', 'U', '5913', '4807', '8365', 'v', '5383', 'V', 'M', 'i', 'I', 'J', '1475', '3385', 'r', '9983', 'U', 'i', 'z', 4797]
[EX A]: 5913, 4807, 8365, v, 5383, V, M, i, I, J, 1475, 3385, r, 9983, U, i

[EX Q]: ['i', 891, 4699, 'K', 'S', 'k', '6309', '9635', 'T', 'w', '1537', 'i', 'm', 485], ['f', 'Y', 'e', 'k', '6309', '9635', 'T', 'w', '1537', 'O', 'D', 9773, 'd']
[EX A]:
k, 6309, 9635, T, w, 1537