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

[EX Q]: [4961, 'H', 9957, 'w', 'K', 'Y', 3375, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'y', 2753, 2989, 6093, 7091, 8043, 'c'], [9279, 'S', 6127, 5845, 237, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'w', 9497, 'K', 2297]
[EX A]: S, 3191, 4439, C, 1965, 2787, 4507

[EX Q]: ['s', 'M', 'y', 'b', 'S', 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'b', 'i', 'A', 2579, 8191, 'g', 3591, 4195, 'q', 1357], ['F', 'U', 'G', 7763, 1385, 'm', 1089, 4701, 1565, 'm', 9713, 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'X', 'b', 'f', 7385, 'G']
[EX A]: P, J, 8781, 7865, 1961, 6767, a, r, H, j, a

[EX Q]: [5175, 'l', 6031, 'R', 'e', 'M', 7763, 9561, 'R', 'f', 'j', '8229', '867', 'Q', 'v', '1613', '2909', 'b', '8265', 'Y', 'g', '6381', 'b', '4643', 'd', 5855, 9991, 'G', 'r', 8999, 7491, 8117], [2841, 'p', 'd', 2963, 'L', 'a', 3273, 'B', 'j', '8229', '867', 'Q', 'v', '1613', '2909', 'b', '8265', 'Y', 'g', '6381', 'b', '4643', 'R', 9725, 7197, 6045, 'a', 5959, 'n', 7895, 'Z']
[EX A]:
j, 8229, 867, Q, v, 1613, 2909, b, 8265, Y, g, 6381, b, 4643