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

[Q]: ['d', 2317, 'y', 8487, 'r', 4789, 5525, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'W', 'U', 5749, 9533, 'T', 'Z', 'x'], [1401, 'F', 9303, 'w', 4629, 9053, 'k', 7351, 1261, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'o', 'q']
[A]: 3961, 1747, v, 7423, 847, a, 4969, T, L, 5383


[Q]: ['d', 897, 't', 1807, 'k', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'z', 'c'], [2741, 'D', 5443, 'Z', 'k', 129, 3339, 'k', 'T', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'd', 4353]
[A]: P, 5013, 1811, 9411, U, z, 2793, 3221, 5643, j, 1793, 9507, J, 6147, i, 4383, 723


[Q]: ['y', 7251, 'M', 'k', '2245', 'e', '4405', '6975', '1137', 'q', '1265', '4515', 'u', 3995], ['e', 'E', 'K', 'p', '2245', 'e', '4405', '6975', '1137', 'q', '1265', '4515', 'B', 2393, 4453, 'x', 7481, 4945]
[A]:
2245, e, 4405, 6975, 1137, q, 1265, 4515