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

[EX Q]: ['m', 'K', 2769, 'i', 'k', 853, 'P', '9255', 'N', '8281', 'f', 'm', 'V', 'a', 3525, 7823, 2111, 'T'], ['Q', 1337, 'I', 'P', '9255', 'N', '8281', 'f', 'm', 'g', 'M', 3873]
[EX A]: P, 9255, N, 8281, f, m

[EX Q]: ['M', 'm', 8571, 'J', 7297, 3761, 35, 8987, 1723, 1719, 1591, 'Z', 3877, '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'X', 2021, 'N', 3259, 'X', 'h', 'v', 7289, 9767, 2785, 7275], ['h', 'w', 'c', 'p', 'y', 'y', 'h', 'X', '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'P', 'k', 'I', 7703]
[EX A]: 6959, 3717, y, 4219, 993, E, 8809, A, q, t, 5583, 6643, L, 5605, S, o, 3071, 1365

[EX Q]: [8823, 'k', 'g', 'T', 'X', '6435', 'F', 'n', 'r', 'S', '2323', 'H', '3955', '8959', '3509', 'S', '2007', 'Z', 'K', '5043', 'Q', 'm'], ['g', 2957, 4837, 'e', 'T', 'X', '6435', 'F', 'n', 'r', 'S', '2323', 'H', '3955', '8959', '3509', 'S', '2007', 'Z', 'K', '5043', 'W', 'U', 2205, 'h']
[EX A]:
T, X, 6435, F, n, r, S, 2323, H, 3955, 8959, 3509, S, 2007, Z, K, 5043