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

Q: ['E', 'M', 'B', 4331, 'f', 3649, 'r', 7345, 7215, '4923', '4941', '4355', 'v', '5773', '1229', '1517', '4395', '5783', '161', 'b', 'U', 5067, 3717, 'J', 'u', 'X', 3429], [4891, 'Z', 4213, 'f', 'z', 't', 2777, 6509, 9497, 6257, 1147, '4923', '4941', '4355', 'v', '5773', '1229', '1517', '4395', '5783', '161', 'b', 'a', 9125, 'k', 8711, 'w']

A: 4923, 4941, 4355, v, 5773, 1229, 1517, 4395, 5783, 161, b
****
Q: ['n', 'E', '2891', '7537', 'Q', 'J'], [2247, 10017, '2891', '7537', 'e', 1001]

A: 2891, 7537
****
Q: ['M', 'u', 'N', 'y', 295, 3475, 9835, 'H', 4717, 1403, 'Y', 9997, 8009, 'g', 'p', '5225', '6819', '2091', '2855', '3637', '2009', 'v', 'c', 'r', '8173', 'H', 'o', 'N', 'F', '1483', 'w', 3597, 1163, 5869], ['v', 9877, 'x', 5367, 4285, 'B', 4389, 3125, 'J', 'u', 2261, 8063, 'W', 'l', 'I', 'y', 9779, 'g', 'p', '5225', '6819', '2091', '2855', '3637', '2009', 'v', 'c', 'r', '8173', 'H', 'o', 'N', 'F', '1483', 'P', 5999, 'u', 2261, 'd', 'n', 'N', 9087, 'P']

A:
g, p, 5225, 6819, 2091, 2855, 3637, 2009, v, c, r, 8173, H, o, N, F, 1483
****