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

Q: ['a', 4925, 4243, 'z', 'c', 8195, 'E', 'X', 'D', 5475, 9427, 193, 'l', 2773, 'M', 'q', 8023, 'I', 'V', 'z', '3739', 'A', 'u', '877', '2153', '6681', 'Q', '943', '9777', '7137', '3625', '9057', '3799', 'I', 'm', 'X', 'K', 'P', 5257, 2037, 8637, 'U', 'y', 'G', 'a', 1085, 3761, 'D', 'g', 'C', 5035, 2251], [5025, 'n', 'X', 8065, 'S', 'E', 'y', 7997, 2455, 8585, 9413, 4339, 'F', 'r', 'm', 61, 'I', 'V', 'z', '3739', 'A', 'u', '877', '2153', '6681', 'Q', '943', '9777', '7137', '3625', '9057', '3799', 'I', 'm', 'X', 'K', 'v', 1213, 'e', 'C', 'V', 9325, 'a', 'b', 'J', 'x', 1959, 4701]

A: I, V, z, 3739, A, u, 877, 2153, 6681, Q, 943, 9777, 7137, 3625, 9057, 3799, I, m, X, K
****
Q: ['T', 5369, 1173, 6093, 'n', 4575, 'h', 7975, 2921, 1655, 'r', 4521, 8665, 1933, 4703, 'N', 7921, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'W', 'G', 9031, 8561, 6175, 5329, 5317, 'd'], [7417, 'P', 'q', 'n', 7037, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'l', 4415, 'A', 'o']

A: 6499, 3029, 5963, P, 9959, 2345, 1265, 8097, 4181, r, t, X, s, l, p, F, 1107, 8395, A, 1351, G, G, G, 3113, q
****
Q: [4261, 'C', 1073, 3285, '6521', 'Z', '6999', 'q', 'e', 'v', 'Z'], ['B', 3785, '6521', 'Z', '6999', 'q', 'c', 'O', 'c']

A:
6521, Z, 6999, q
****