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

[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]
[A]: 6959, 3717, y, 4219, 993, E, 8809, A, q, t, 5583, 6643, L, 5605, S, o, 3071, 1365


[Q]: [5625, 6017, 'd', 'p', '4423', '77', 'E', '5271', 'A', 1553, 'c'], ['U', 1615, 'u', 'd', 'p', '4423', '77', 'E', '5271', 'x', 'w', 'Y']
[A]: d, p, 4423, 77, E, 5271


[Q]: [5475, 'V', 575, 'h', 'y', '951', '629', 'o', 'W', 'u', 4127, 7611, 8879, 'k'], ['u', 3505, 'o', 'y', '951', '629', 'o', 'W', 'f', 'f']
[A]:
y, 951, 629, o, W